mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-21 05:02:39 +08:00
Update scripts/utils/options.ts
This commit is contained in:
parent
6fb436bf61
commit
c6f2d4e17e
@ -237,7 +237,7 @@ export async function promptOptions<TOptions extends OptionSpecifier>(
|
||||
const selection = await prompts(questions, {
|
||||
onCancel: () => {
|
||||
console.log('Command cancelled by the user. Exiting...');
|
||||
process.exit(0);
|
||||
process.exit(1);
|
||||
},
|
||||
});
|
||||
// Again the structure of the questions guarantees we get responses of the type we need
|
||||
|
Loading…
x
Reference in New Issue
Block a user