This commit is contained in:
John Kleinschmidt
2025-06-06 17:04:30 -04:00
parent 1b1be6e1b3
commit cafcfe106d

View File

@@ -47,6 +47,7 @@ function getCurrentCommitSha () {
function getCurrentBranch () {
const result = cp.spawnSync('git', ['symbolic-ref', '--short', 'HEAD'], { encoding: 'utf8' });
console.log(result);
if (result.status !== 0) {
throw new Error('Failed to get current branch');
}