rb/diagnostics/successfully-extracted-files

This commit is contained in:
Alex Ford
2021-05-07 00:17:58 +01:00
parent 54266eca33
commit e7285babf0

View 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, ""