From 6f1110f4542f418c99d1c479d82bf745a05bdb6f Mon Sep 17 00:00:00 2001 From: Michael Shilman Date: Thu, 13 Jun 2024 00:02:40 +0800 Subject: [PATCH] CLI: Fix `init --skip-install` --- code/lib/cli/src/initiate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/lib/cli/src/initiate.ts b/code/lib/cli/src/initiate.ts index 9d54c099f19b..dabe81cb2fcb 100644 --- a/code/lib/cli/src/initiate.ts +++ b/code/lib/cli/src/initiate.ts @@ -405,7 +405,7 @@ export async function doInitiate(options: CommandOptions): Promise< ); return { - shouldRunDev: !!options.dev, + shouldRunDev: !!options.dev && !options.skipInstall, projectType, packageManager, storybookCommand,