mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
fix(create): add missing await (#8831)
This commit is contained in:
parent
3f73221286
commit
be0ac6c2cd
|
|
@ -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…
Reference in New Issue