Skip to content

Commit a27ecd3

Browse files
committed
Ensure failed packaging fails the build
1 parent d4f73ec commit a27ecd3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pack.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,7 @@ const packageApp = async () => {
8383
));
8484
}
8585

86-
packageApp();
86+
packageApp().catch(e => {
87+
console.error(e);
88+
process.exit(1);
89+
});

0 commit comments

Comments
 (0)