Skip to content

Commit 8be32cb

Browse files
committed
Ensure prepare script failures immediately fail the build
1 parent b020893 commit 8be32cb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

prepare.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,7 @@ const OVERRIDES_DIR = path.join(__dirname, 'overrides');
4747
);
4848

4949
console.log('Override dependencies installed');
50-
})();
50+
})().catch((e) => {
51+
console.error(e);
52+
process.exit(1);
53+
});

0 commit comments

Comments
 (0)