Skip to content

Commit a76183b

Browse files
trilliumCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 1ce500e commit a76183b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/controllers/healthCheck.controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function getBuildInfo() {
2727

2828
// Method 3: Try git command (for local development)
2929
try {
30-
const gitSha = execSync('git rev-parse --short HEAD 2>/dev/null', { encoding: 'utf8' }).trim();
30+
const gitSha = execSync('git rev-parse --short HEAD 2>/dev/null', { encoding: 'utf8', shell: true }).trim();
3131
if (gitSha && gitSha !== '' && gitSha !== 'unknown') {
3232
return gitSha;
3333
}

0 commit comments

Comments
 (0)