Skip to content

Commit

Permalink
fix(create): add missing await (#8831)
Browse files Browse the repository at this point in the history
  • Loading branch information
sachin-nanayakkara committed Mar 28, 2023
1 parent 3f73221 commit be0ac6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-docusaurus/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ async function getSiteName(
return true;
}
if (reqName) {
const res = validateSiteName(reqName);
const res = await validateSiteName(reqName);
if (typeof res === 'string') {
throw new Error(res);
}
Expand Down

0 comments on commit be0ac6c

Please sign in to comment.