diff --git a/packages/upgrade/src/actions/install.ts b/packages/upgrade/src/actions/install.ts index 14011a07ee7d..3c294a8ee2a5 100644 --- a/packages/upgrade/src/actions/install.ts +++ b/packages/upgrade/src/actions/install.ts @@ -123,7 +123,8 @@ async function runInstallCommand( const cwd = fileURLToPath(ctx.cwd); if (ctx.packageManager === 'yarn') await ensureYarnLock({ cwd }); - const installCmd = ctx.packageManager === 'yarn' || ctx.packageManager === 'pnpm' ? 'add' : 'install'; + const installCmd = + ctx.packageManager === 'yarn' || ctx.packageManager === 'pnpm' ? 'add' : 'install'; await spinner({ start: `Installing dependencies with ${ctx.packageManager}...`,