modclean icon indicating copy to clipboard operation
modclean copied to clipboard

empty directories do not get removed

Open jebarpg opened this issue 1 year ago • 0 comments

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?

jebarpg avatar Mar 13 '24 07:03 jebarpg