We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5fb9bb commit 1164300Copy full SHA for 1164300
src/node/cli.ts
@@ -509,6 +509,8 @@ export async function readConfigFile(configPath?: string): Promise<ConfigArgs> {
509
}
510
511
512
+ await fs.mkdir(path.dirname(configPath), { recursive: true })
513
+
514
try {
515
await fs.writeFile(configPath, await defaultConfigFile(), {
516
flag: "wx", // wx means to fail if the path exists.
0 commit comments