Skip to content

Commit

Permalink
changed deprecated node api
Browse files Browse the repository at this point in the history
  • Loading branch information
ntotten committed Jan 1, 2022
1 parent 4a9ad9d commit cc2cf0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/clean.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ const folders = ["../dist", "../out"];
folders.forEach((folder) => {
const dir = path.join(__dirname, folder);
if (fs.existsSync(dir)) {
fs.rmdirSync(dir, { recursive: true });
fs.rmSync(dir, { recursive: true, force: true });
}
});

0 comments on commit cc2cf0d

Please sign in to comment.