Skip to content

Commit 1258863

Browse files
committed
fix: use non-zero exit code for cancelled init flow
1 parent 2d7ea53 commit 1258863

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/src/commands/init-flow.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ type ProjectTemplates = (typeof PROJECT_TEMPLATES)[number]["value"];
2424
const exitIfCancelled = <Value>(value: Value | symbol): Value => {
2525
if (isCancel(value)) {
2626
cancel("Project initialization is cancelled");
27-
process.exit(0);
27+
process.exit(1);
2828
}
2929
return value;
3030
};

0 commit comments

Comments
 (0)