mirror of
https://github.com/github/codeql.git
synced 2026-04-22 15:25:18 +02:00
C#: Report any extracted file as successfully extracted
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
---
|
||||
category: minorAnalysis
|
||||
---
|
||||
* The diagnostic query `cs/diagnostics/successfully-extracted-files`, and therefore the Code Scanning UI measure of scanned C# files, now considers any C# file seen during extraction, even one with some errors, to be extracted / scanned.
|
||||
@@ -11,8 +11,5 @@ import csharp
|
||||
import semmle.code.csharp.commons.Diagnostics
|
||||
|
||||
from File file
|
||||
where
|
||||
file.fromSource() and
|
||||
not exists(ExtractorError e | e.getLocation().getFile() = file) and
|
||||
not exists(CompilerError e | e.getLocation().getFile() = file)
|
||||
where file.fromSource()
|
||||
select file, ""
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
| A.cs:0:0:0:0 | A.cs | |
|
||||
| Program.cs:0:0:0:0 | Program.cs | |
|
||||
|
||||
Reference in New Issue
Block a user