Skip to content

Commit

Permalink
Propagate build process status
Browse files Browse the repository at this point in the history
Build process is hiding away the status and doesn't propagate it to `fec build` status code, resulting in hiding away CI errors.
  • Loading branch information
ezr-ondrej authored Jul 22, 2024
1 parent 7402669 commit 1dbb753
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/config/src/bin/build-script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export function buildScript(argv: { [name: string]: string }, cwd: string) {
subprocess.on('exit', (code: string | null, signal: string) => {
if (code) {
fecLogger(LogType.error, 'Exited with code', code);
process.exit(code);
} else if (signal) {
fecLogger(LogType.error, 'Exited with signal', signal);
} else {
Expand Down

0 comments on commit 1dbb753

Please sign in to comment.