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! π
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too