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

empty directories do not get removed #51

Open
jebarpg opened this issue Mar 13, 2024 · 0 comments
Open

empty directories do not get removed #51

jebarpg opened this issue Mar 13, 2024 · 0 comments

Comments

@jebarpg
Copy link

jebarpg commented Mar 13, 2024

I run the command
node_modules/modclean/bin/modclean.js -n default:safe
three times and this is my results:
###########FIRST TIME#############

✔ Found 9001 files to remove
[==============================] 100% (9001/9001) 0.0s

✔ Found 6661 empty directories to remove
[==============================] 100% (6661/6661) 0.0s

FILES/FOLDERS DELETED
Total: 15662
Skipped: 0
Empty: 6661

###########SECOND TIME#############

✔ Found 0 files to remove
✔ Found 6545 empty directories to remove
[==============================] 100% (6545/6545) 0.0s

FILES/FOLDERS DELETED
Total: 6545
Skipped: 0
Empty: 6545

###########THIRD TIME#############

✔ Found 0 files to remove
✔ Found 6545 empty directories to remove
[==============================] 100% (6545/6545) 0.0s

FILES/FOLDERS DELETED
Total: 6545
Skipped: 0
Empty: 6545

As you can see the empty folders still are showing up after multiple times running. It should show 0 empty after the first run correct?

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

No branches or pull requests

1 participant