fix: refs #6130 code

This commit is contained in:
Pablo Natek 2024-04-05 15:01:12 +02:00
parent 29f952308f
commit 2084d047b2
1 changed files with 1 additions and 1 deletions

View File

@ -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');