Log build-gap typecheck spawn failures

This commit is contained in:
Devin Foley committed 2026-05-03 19:46:19 -07:00
1 parent f6e536538b
commit 1bc0363aed
1 file changed
+5
+5
View File
@@ -16,6 +16,11 @@ function run(command, args) {
stdio: "inherit",
});
if (result.error) {
console.error(`[typecheck:build-gaps] Failed to spawn ${command}: ${result.error.message}`);
process.exit(1);
}
if (result.status !== 0) {
process.exit(result.status ?? 1);
}