#code: refs #6130 code@
This commit is contained in:
parent
1e669e99f8
commit
29f952308f
|
@ -21,7 +21,7 @@ if (branchName) {
|
|||
}
|
||||
}
|
||||
|
||||
function getCurrentBranchName(p = process.cwd()) {
|
||||
function getCurrentBranchName(p = process.cwd()) {
|
||||
if (!fs.existsSync(p)) return false;
|
||||
|
||||
const gitHeadPath = path.join(p, '.git', 'HEAD');
|
||||
|
|
Loading…
Reference in New Issue