From df77385d997bd04bdd7364ea7f2331aa8c549165 Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Mon, 12 Dec 2022 18:07:04 +0100 Subject: [PATCH] Merge pull request #20208 from storybookjs/fix/yes-as-default-in-automigration CLI: execute automigrations on enter --- lib/cli/src/automigrate/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/cli/src/automigrate/index.ts b/lib/cli/src/automigrate/index.ts index 26e9e23b0415..c7492b17479c 100644 --- a/lib/cli/src/automigrate/index.ts +++ b/lib/cli/src/automigrate/index.ts @@ -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, }); }