Skip to content

Commit

Permalink
chore: repo overall update
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Zhang (张涛) committed Nov 1, 2024
1 parent 4e6b080 commit 9bab808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/clean.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function deleteNodeModules(dir) {
const time = new Date().getTime();
if (entry.name === 'node_modules' || entry.name === 'dist') {
fs.rmSync(curPath, { recursive: true, force: true })
console.log(`deleting: ${curPath}, time consuming:${new Date().getTime() - time}`);
console.log(`deleting: ${entry.name}, time consuming:${new Date().getTime() - time}`);
} else {
deleteNodeModules(curPath);
}
Expand Down

0 comments on commit 9bab808

Please sign in to comment.