From f1d7d6c911bc54ed3ca3e39eefbc7de6ee33b10d Mon Sep 17 00:00:00 2001 From: SrIzan10 <66965250+SrIzan10@users.noreply.github.com> Date: Wed, 18 Oct 2023 20:27:58 +0200 Subject: [PATCH] fix: build mkdir errors (#122) Co-authored-by: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com> --- src/commands/build.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/build.ts b/src/commands/build.ts index 88539f7..1b6e879 100644 --- a/src/commands/build.ts +++ b/src/commands/build.ts @@ -138,7 +138,7 @@ export async function build(options: Record) { if (!(await pathExists(genDir))) { console.log('Making .sern/generated dir, does not exist'); - await mkdir(genDir); + await mkdir(genDir, { recursive: true }); } try {