cwd is nothing

This commit is contained in:
koeneijkemans 2020-07-04 19:03:59 +02:00
parent 5ba58d9bd4
commit 540f3e760f

View File

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