Skip to content

Commit

Permalink
Merge pull request #20208 from storybookjs/fix/yes-as-default-in-auto…
Browse files Browse the repository at this point in the history
…migration

CLI: execute automigrations on enter
  • Loading branch information
yannbf authored and shilman committed Dec 20, 2022
1 parent 9c19ef0 commit df77385
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/cli/src/automigrate/index.ts
Expand Up @@ -43,6 +43,7 @@ export const automigrate = async ({ fixId, dryRun, yes }: FixOptions = {}) => {
type: 'confirm',
name: 'fix',
message: `Do you want to run the '${chalk.cyan(f.id)}' migration on your project?`,
initial: true,
});
}

Expand Down

0 comments on commit df77385

Please sign in to comment.