mirror of
https://github.com/diligencia/semantic-branch-version.git
synced 2024-12-27 12:48:01 +08:00
cwd is nothing
This commit is contained in:
parent
5ba58d9bd4
commit
540f3e760f
3
index.js
3
index.js
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user