Skip to content

Commit

Permalink
Update src/helpers.ts
Browse files Browse the repository at this point in the history
Co-authored-by: David Sanders <[email protected]>
  • Loading branch information
erickzhao and dsanders11 authored Jan 13, 2025
1 parent 7269753 commit e917ff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export async function withTempDir<T>(fn: (dir: string) => Promise<T>) {
throw err;
}
d('work succeeded');
await fs.rm(dir, { recursive: true });
await fs.rm(dir, { recursive: true, force: true });
return result;
}

Expand Down

0 comments on commit e917ff8

Please sign in to comment.