fix: flush bash hook output safely

This commit is contained in:
Affaan Mustafa
2026-04-14 21:20:01 -07:00
parent a8bb5979a5
commit 4a9918db00
7 changed files with 24 additions and 10 deletions

View File

@@ -20,5 +20,5 @@ process.stdin.on('end', () => {
process.stderr.write(result.stderr);
}
process.stdout.write(result.output);
process.exit(result.exitCode);
process.exitCode = result.exitCode;
});