set the working dir

This commit is contained in:
koeneijkemans 2020-07-04 18:48:57 +02:00
parent 96d1be5d2b
commit b81aca7cca

View File

@ -13,7 +13,8 @@ async function getBranchName() {
const options = {
listeners: {
stdout: (data) => output += data.toString()
}
},
cwd = './'
};
await execlib.exec('git', ['branch'], options);