mirror of
https://github.com/github/codeql.git
synced 2026-02-20 00:43:44 +01:00
17 lines
420 B
Plaintext
17 lines
420 B
Plaintext
/**
|
|
* @name Successfully extracted files
|
|
* @description Lists all files in the source code directory 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) and
|
|
exists(f.getRelativePath())
|
|
select f, ""
|