mirror of
https://github.com/github/codeql.git
synced 2026-02-19 16:33:40 +01:00
rb/diagnostics/files-extracted-with-errors
This commit is contained in:
14
ql/src/queries/diagnostics/FilesExtractedWithErrors.ql
Normal file
14
ql/src/queries/diagnostics/FilesExtractedWithErrors.ql
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* @name Files extracted with errors
|
||||
* @description Lists files that were extracted, but may be incomplete due to
|
||||
* extraction errors.
|
||||
* @kind diagnostic
|
||||
* @id rb/diagnostics/files-extracted-with-errors
|
||||
*/
|
||||
|
||||
import ruby
|
||||
import codeql_ruby.Diagnostics
|
||||
|
||||
from File f
|
||||
where exists(ExtractionError e | e.getLocation().getFile() = f)
|
||||
select f, ""
|
||||
Reference in New Issue
Block a user