fix: build mkdir errors (#122)

Co-authored-by: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com>
This commit is contained in:
2023-10-18 20:27:58 +02:00
committed by GitHub
parent 4ec96dbe17
commit f1d7d6c911

View File

@@ -138,7 +138,7 @@ export async function build(options: Record<string, any>) {
if (!(await pathExists(genDir))) {
console.log('Making .sern/generated dir, does not exist');
await mkdir(genDir);
await mkdir(genDir, { recursive: true });
}
try {