Skip to content

Conversation

s100
Copy link

@s100 s100 commented Apr 20, 2022

It looks as if you copied and pasted the default emptyDirFilter from empty-dir's own documentation, which (at the time) was broken. A completely understandable error. I have opened a PR to fix empty-dir's documentation, but this usage must also be repaired. With its current behaviour, modclean considers nearly every directory to be empty and deletable by default, except those containing only garbage files.

@s100
Copy link
Author

s100 commented Apr 20, 2022

Incidentally, is modclean@3 intended to be ready for production use? If not, I highly recommend you mark modclean@2.1.2 as latest on npm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant