Skip to content

Commit

Permalink
#567: Removed globbing in rimrafSync call in clean.js, since webpack …
Browse files Browse the repository at this point in the history
…paths do not have wildcards
  • Loading branch information
tombogle committed Jan 5, 2024
1 parent 44ef982 commit fdf33f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .erb/scripts/clean.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ const foldersToRemove = [
];

foldersToRemove.forEach((folder) => {
if (fs.existsSync(folder)) rimrafSync(folder, { glob: true });
if (fs.existsSync(folder)) rimrafSync(folder);
});

0 comments on commit fdf33f5

Please sign in to comment.