-
-
Notifications
You must be signed in to change notification settings - Fork 22
Description
After upgrading to del-cli@3 the following behavior occurs:
Command: del-cli dir/subdir/ (Note the trailing slash)
Expectation: dir/subdir/ gets deleted.
Outcome: dir/subdir/ is not deleted.
Command: del-cli dir/subdir (Note the absence of the trailing slash)
Expectation: dir/subdir/ gets deleted.
Outcome: dir/subdir/ gets deleted.
This behavior appears to have started with the switch to del@5 using fast-glob but after looking into the fast-glob docs I'm not sure there is even option or anything related to control this behavior. (Using del-cli@2 does behave the same for both commands.)
tbh I thought I report it here first because I encountered it using del-cli. If you believe this is a problem with fast-glob feel free to close the issue and I will create another issue for fast-glob.
Thanks a lot! 👍