Skip to content

Commit

Permalink
Add recursive
Browse files Browse the repository at this point in the history
  • Loading branch information
vladikoff committed Jan 31, 2023
1 parent 494f243 commit 1c7d483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/grunt/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ file.delete = function(filepath, options) {
try {
// Actually delete. Or not.
if (!nowrite) {
fs.rmSync(filepath);
fs.rmSync(filepath, { recursive: true, force: true });
}
grunt.verbose.ok();
return true;
Expand Down

0 comments on commit 1c7d483

Please sign in to comment.