make createConfig() call await
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ export async function getConfig(): Promise<typeof defaultConfig> {
|
||||
|
||||
return configObject;
|
||||
} catch {
|
||||
createConfig();
|
||||
await createConfig();
|
||||
return defaultConfig;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user