diff --git a/src/helpers.ts b/src/helpers.ts index 300063f..e7d818f 100644 --- a/src/helpers.ts +++ b/src/helpers.ts @@ -18,7 +18,7 @@ export async function withTempDir(fn: (dir: string) => Promise) { throw err; } d('work succeeded'); - await fs.rm(dir, { recursive: true }); + await fs.rm(dir, { recursive: true, force: true }); return result; }