From ef95a1945f2e8f7abd7a444e55a0f2ceb4b7cb6f Mon Sep 17 00:00:00 2001 From: rossrobino Date: Thu, 5 Sep 2024 13:48:00 -0400 Subject: [PATCH] mkdir --- packages/domco/src/adapter/cloudflare/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/domco/src/adapter/cloudflare/index.ts b/packages/domco/src/adapter/cloudflare/index.ts index c445c66..e492d72 100644 --- a/packages/domco/src/adapter/cloudflare/index.ts +++ b/packages/domco/src/adapter/cloudflare/index.ts @@ -122,6 +122,8 @@ export const adapter: AdapterBuilder = async () => { await clearDir(outDir); + await fs.mkdir(outDir, { recursive: true }); + // if (!(await fileExists(wranglerToml.filePath))) { // await fs.writeFile(wranglerToml.filePath, wranglerToml.toml); // }