7253-devToTest_2418 #2350
|
@ -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