You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
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):
The text was updated successfully, but these errors were encountered: