diff --git a/ql/src/queries/diagnostics/FilesExtractedWithErrors.ql b/ql/src/queries/diagnostics/FilesExtractedWithErrors.ql new file mode 100644 index 00000000000..8db409eefd1 --- /dev/null +++ b/ql/src/queries/diagnostics/FilesExtractedWithErrors.ql @@ -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, ""