mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
fix it
This commit is contained in:
parent
62dd672e58
commit
ad4b51bbf8
@ -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 },
|
||||
|
Loading…
x
Reference in New Issue
Block a user