diff --git a/apps/cli/src/util/configuration.ts b/apps/cli/src/util/configuration.ts index 72ff64de..4f211989 100644 --- a/apps/cli/src/util/configuration.ts +++ b/apps/cli/src/util/configuration.ts @@ -60,7 +60,7 @@ export const writeProfileConfig = async ( config: ProfileConfig ): Promise => { const path = getProfileConfigurationFilePath() - ensureDirectoryExists(path); + await ensureDirectoryExists(path); await writeFile(path, JSON.stringify(config, null, 2), 'utf8') } @@ -68,7 +68,7 @@ export const writePrivateKeyConfig = async ( config: PrivateKeyConfig ): Promise => { const path = getPrivateKeyConfigurationFilePath() - ensureDirectoryExists(path); + await ensureDirectoryExists(path); await writeFile(path, JSON.stringify(config, null, 2), 'utf8') }