Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exclude-dir doesn't work with multi-level dir #564

Open
scottc-WellSky opened this issue Dec 2, 2024 · 0 comments
Open

exclude-dir doesn't work with multi-level dir #564

scottc-WellSky opened this issue Dec 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@scottc-WellSky
Copy link

scottc-WellSky commented Dec 2, 2024

Describe the bug
exclude-dir does not work with multiple-level paths, such as: scc --exclude-dir level1\level2

To Reproduce

  1. Tell us how you were using scc either as command line or library.
    command line

  2. If command line please list the arguments. If library please supply code to demonstrate the issue.
    scc --exclude-dir level1\level2
    (also tried scc --exclude-dir level1/level2 - back slash vs forward slash)

  3. If the issue is a miscount or some such please link or supply a file which demonstrates the issue.

Expected behavior
Given a structure such as:
\MyRepo
..program.cs
....\level1
......\level2
........MyReport.rdl

"scc --exclude-dir level1\level2" should not include MyReport.rdl (i.e. \MyRepo\level1\level2\MyReport.rdl).

Desktop (please complete the following information):

  • Windows
  • 3.4.0

** Additional questions for completeness

  • Can / or \ be used as the path separator? ..or is it dependent on OS?
  • Can I include quotes around the exclude-dir value when there are spaces in the paths, such as:
    "scc --exclude-dir "level1\level2,level1\Stored Procs"?
@boyter boyter added the bug Something isn't working label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants