From 1f26030c3aee0b59c5340abf56a64c994784a427 Mon Sep 17 00:00:00 2001 From: uncenter <47499684+uncenter@users.noreply.github.com> Date: Fri, 19 Jul 2024 19:02:59 +0000 Subject: [PATCH] fix(scripts): await `@std/fs`'s `ensureDir` --- scripts/import-styles/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/import-styles/main.ts b/scripts/import-styles/main.ts index 56480edc1e..b16226b998 100644 --- a/scripts/import-styles/main.ts +++ b/scripts/import-styles/main.ts @@ -39,5 +39,5 @@ for await (const entry of stylesheets) { }); } -ensureDir("dist"); +await ensureDir("dist"); Deno.writeTextFile("dist/import.json", JSON.stringify(data));