Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/modclean.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ let defaults = {
* @return {Boolean} `true` if is a valid file, `false` if invalid file
*/
emptyDirFilter: function(file) {
return !/(Thumbs\.db|\.DS_Store)$/i.test(file);
return /(Thumbs\.db|\.DS_Store)$/i.test(file);
},
/**
* Custom options to pass into `glob` to further customize file searching. Will override existing options.
Expand Down