mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-02 19:57:25 +02:00
fix(create): add missing await (#8831)
This commit is contained in:
parent
3f73221286
commit
be0ac6c2cd
1 changed files with 1 additions and 1 deletions
|
@ -241,7 +241,7 @@ async function getSiteName(
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (reqName) {
|
if (reqName) {
|
||||||
const res = validateSiteName(reqName);
|
const res = await validateSiteName(reqName);
|
||||||
if (typeof res === 'string') {
|
if (typeof res === 'string') {
|
||||||
throw new Error(res);
|
throw new Error(res);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue