Skip to content

Commit

Permalink
Update code/lib/cli/src/initiate.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Valentin Palkovic <valentin@chromatic.com>
  • Loading branch information
yannbf and valentinpalkovic authored Jun 21, 2023
1 parent 3f21012 commit 83e84dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/lib/cli/src/initiate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ async function doInitiate(options: CommandOptions, pkg: PackageJson): Promise<vo
// executed directly in the user's project directory. This avoid potential issues
// with packages running in npxs' node_modules
packageManager.runPackageCommandSync(
storybookCommand.replace(/yarn|pnpm|npm/, ''),
storybookCommand.replace(/^(yarn|pnpm|npm) /, ''),
['--quiet'],
undefined,
'inherit'
Expand Down

0 comments on commit 83e84dd

Please sign in to comment.