Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix default emptyDirFilter #44

Open
wants to merge 1 commit into
base: 3.0.0-dev
Choose a base branch
from
Open

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 [email protected] 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