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
C#: Remove unneeded options and add support for paths/paths-ignore in standalone
#15070
base: main
Are you sure you want to change the base?
Conversation
3edebeb
to
a4cfc07
Compare
| include:c/x/y | ||
| """); | ||
|
|
||
| var filtered = testSubject.Filter(files); |
Check warning
Code scanning / CodeQL
Useless assignment to local variable Warning
filtered
| exclude:c/d/e | ||
| """); | ||
|
|
||
| var filtered = testSubject.Filter(files); |
Check warning
Code scanning / CodeQL
Useless assignment to local variable Warning
filtered
| exclude:**/z/i.cs | ||
| """); | ||
|
|
||
| var filtered = testSubject.Filter(files); |
Check warning
Code scanning / CodeQL
Useless assignment to local variable Warning
filtered
a4cfc07
to
993dd76
Compare
paths/paths-ignore in standalone
csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/FilePathFilter.cs
Outdated
Show resolved
Hide resolved
csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/FilePathFilter.cs
Outdated
Show resolved
Hide resolved
csharp/extractor/Semmle.Extraction.CSharp.Standalone/Options.cs
Outdated
Show resolved
Hide resolved
| exclude:c/x/z | ||
| """); | ||
|
|
||
| var filtered = testSubject.Filter(files); |
Check warning
Code scanning / CodeQL
Useless assignment to local variable Warning
filtered
| include:c/x | ||
| """); | ||
|
|
||
| var filtered = testSubject.Filter(files); |
Check warning
Code scanning / CodeQL
Useless assignment to local variable Warning
filtered
| exclude:**/z/i.cs | ||
| """); | ||
|
|
||
| var filtered = testSubject.Filter(files); |
Check warning
Code scanning / CodeQL
Useless assignment to local variable Warning
This PR
LGTM_INDEX_FILTERSenvironment variable, which contains thepathsandpaths-ignorecodescanning settings.The CI QL Tests are failing due to the removal of the options. The linked internal PR covers those.