Skip to content

Commit 04545b8

Browse files
authored
Set non-zero exit code on errors (#134)
1 parent d9e1a96 commit 04545b8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/ferric/src/build.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ export const buildCommand = new Command("build")
287287
}
288288
);
289289
} catch (error) {
290+
process.exitCode = 1;
290291
if (error instanceof SpawnFailure) {
291292
error.flushOutput("both");
292293
}

0 commit comments

Comments
 (0)