-
-
Notifications
You must be signed in to change notification settings - Fork 295
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
A clear and concise description of what the bug is.
When I add slash at the end of dir of --exclude-dir
, the dir is not excluded.
To Reproduce
# inside scc repo
>> scc --version
scc version 3.0.0
>> scc | rg Total
Total 178 25942 3002 1729 21211 2327
>> scc --exclude-dir examples/ | rg Total
Total 178 25942 3002 1729 21211 2327
>> scc --exclude-dir examples | rg Total
Total 67 19263 1963 668 16632 1476
Expected behavior
A clear and concise description of what you expected to happen.
--exclude-dir
should handle that situation that the dir got slash at the end since most of the time I would just tab to complete the dir.
Desktop (please complete the following information):
- OS: [e.g. macOS, Windows, Linux] Manjaro-Linux
- Version [e.g. 22] v3.0.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working