Skip to content

Commit

Permalink
Merge pull request #26293 from storybookjs/valentin/fix-version-check…
Browse files Browse the repository at this point in the history
…-in-upgrade

Upgrade: Add missing isUpgrade parameter to automigrate function
  • Loading branch information
valentinpalkovic authored Mar 4, 2024
2 parents 8909a59 + fbbf22d commit 7ff80bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/lib/cli/src/automigrate/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export const automigrate = async ({
renderer: rendererPackage,
skipInstall,
hideMigrationSummary = false,
isUpgrade,
}: AutofixOptions): Promise<{
fixResults: Record<string, FixStatus>;
preCheckFailure?: PreCheckFailure;
Expand Down Expand Up @@ -142,6 +143,7 @@ export const automigrate = async ({
mainConfigPath,
storybookVersion,
beforeVersion,
isUpgrade,
dryRun,
yes,
});
Expand Down

0 comments on commit 7ff80bf

Please sign in to comment.