mirror of
https://github.com/github/codeql.git
synced 2026-02-19 16:33:40 +01:00
rb/diagnostics/successfully-extracted-files
This commit is contained in:
14
ql/src/queries/diagnostics/SuccessfullyExtractedFiles.ql
Normal file
14
ql/src/queries/diagnostics/SuccessfullyExtractedFiles.ql
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* @name Successfully extracted files
|
||||
* @description Lists all files that were extracted without encountering an
|
||||
* error in the file.
|
||||
* @kind diagnostic
|
||||
* @id rb/diagnostics/successfully-extracted-files
|
||||
*/
|
||||
|
||||
import ruby
|
||||
import codeql_ruby.Diagnostics
|
||||
|
||||
from File f
|
||||
where not exists(ExtractionError e | e.getLocation().getFile() = f)
|
||||
select f, ""
|
||||
Reference in New Issue
Block a user