Skip to content

Commit c08a0d5

Browse files
committed
Exit with 1, indicating an error. This is important for CI
1 parent 93305bf commit c08a0d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli-v3/src/cli/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export async function wrapCommandAction<T extends z.AnyZodObject, TResult>(
8888
} else if (e instanceof SkipCommandError) {
8989
// do nothing
9090
} else if (e instanceof BundleError) {
91-
process.exit();
91+
process.exit(1);
9292
} else {
9393
recordSpanException(span, e);
9494

0 commit comments

Comments
 (0)