From fbbf22d5945301d54bf7500e9a685805dd4367b8 Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Mon, 4 Mar 2024 09:16:41 +0100 Subject: [PATCH] Add missing isUpgrade parameter to automigrate function --- code/lib/cli/src/automigrate/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/lib/cli/src/automigrate/index.ts b/code/lib/cli/src/automigrate/index.ts index b0864a7071c6..8a84476b5e93 100644 --- a/code/lib/cli/src/automigrate/index.ts +++ b/code/lib/cli/src/automigrate/index.ts @@ -111,6 +111,7 @@ export const automigrate = async ({ renderer: rendererPackage, skipInstall, hideMigrationSummary = false, + isUpgrade, }: AutofixOptions): Promise<{ fixResults: Record; preCheckFailure?: PreCheckFailure; @@ -142,6 +143,7 @@ export const automigrate = async ({ mainConfigPath, storybookVersion, beforeVersion, + isUpgrade, dryRun, yes, });