mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-31 06:04:11 +01:00
Log build-gap typecheck spawn failures
This commit is contained in:
1 parent
f6e536538b
commit
1bc0363aed
1 file changed
+5
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user