Skip to content

Commit

Permalink
Merge pull request #19083 from storybookjs/shilman/fix-sb-init-race-c…
Browse files Browse the repository at this point in the history
…ondition

CLI: Fix race condition in sb init
  • Loading branch information
shilman committed Sep 1, 2022
2 parents 35e8310 + b1e3b16 commit ff452d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/lib/cli/src/generators/baseGenerator.ts
Expand Up @@ -208,7 +208,7 @@ export async function baseGenerator(
await configurePreview(renderer, options.commonJs);

if (addComponents) {
copyComponents(renderer, language);
await copyComponents(renderer, language);
}

// FIXME: temporary workaround for https://github.com/storybookjs/storybook/issues/17516
Expand Down

0 comments on commit ff452d0

Please sign in to comment.