mirror of
https://github.com/diligencia/semantic-branch-version.git
synced 2024-11-23 16:43:51 +08:00
set the working dir
This commit is contained in:
parent
96d1be5d2b
commit
b81aca7cca
3
index.js
3
index.js
@ -13,7 +13,8 @@ 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…
Reference in New Issue
Block a user