Skip to content

Commit 1ed6c12

Browse files
YaroShkvorets0237h
andauthored
proper error code on Ctrl-C
Co-authored-by: Etienne Donneger <[email protected]>
1 parent 7ebea7b commit 1ed6c12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/src/command-helpers/prompt-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export class PromptManager {
5959
}
6060
if (isCtrlC || this.currentStep === 0) {
6161
process.stdout.write('\n');
62-
process.exit(0);
62+
process.exit(1);
6363
}
6464

6565
this.currentStep--;

0 commit comments

Comments
 (0)