From ad4b51bbf8d87e90609cb8c59c95acf442b0ef7e Mon Sep 17 00:00:00 2001 From: Norbert de Langen Date: Tue, 14 Jun 2022 16:04:06 +0200 Subject: [PATCH] fix it --- lib/cli/src/repro-generators/scripts.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/cli/src/repro-generators/scripts.ts b/lib/cli/src/repro-generators/scripts.ts index 8c9be2bc995..b2a7d1ac1ac 100644 --- a/lib/cli/src/repro-generators/scripts.ts +++ b/lib/cli/src/repro-generators/scripts.ts @@ -189,7 +189,7 @@ const initStorybook = async ({ cwd, autoDetect = true, name, e2e, pnp }: Options flags.push('--linkable'); } if (pnp) { - flags.push('--pnp'); + flags.push('--use-pnp'); } const sbCLICommand = useLocalSbCli @@ -198,7 +198,6 @@ const initStorybook = async ({ cwd, autoDetect = true, name, e2e, pnp }: Options const command = `${sbCLICommand} init ${flags.join(' ')}`; - console.log({ command }); await exec( command, { cwd },