Skip to content

Commit

Permalink
Use rm instead
Browse files Browse the repository at this point in the history
  • Loading branch information
puckzxz committed May 7, 2024
1 parent f22adcc commit ad17f1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sidecar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ try {
browser.close();

if (chromeTempDataDir) {
fs.unlinkSync(chromeTempDataDir);
fs.rmSync(chromeTempDataDir, { recursive: true, force: true});
}

process.exit(0);

0 comments on commit ad17f1a

Please sign in to comment.