mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-30 10:48:05 +02:00
fix(create): add missing await (#8831)
This commit is contained in:
parent
4fb67ef11b
commit
b6d52621db
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue