Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b6d5262

Browse files
sachin-nanayakkaraslorber
authored andcommittedMay 15, 2023
fix(create): add missing await (#8831)
1 parent 4fb67ef commit b6d5262

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/create-docusaurus/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ async function getSiteName(
241241
return true;
242242
}
243243
if (reqName) {
244-
const res = validateSiteName(reqName);
244+
const res = await validateSiteName(reqName);
245245
if (typeof res === 'string') {
246246
throw new Error(res);
247247
}

0 commit comments

Comments
 (0)
Please sign in to comment.