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 {