We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e772a8 commit 4c7ec59Copy full SHA for 4c7ec59
ruby/ql/lib/codeql/ruby/Diagnostics.qll
@@ -48,7 +48,8 @@ class Diagnostic extends @diagnostic {
48
string toString() { result = this.getMessage() }
49
}
50
51
-/** A diagnostic relating to a particular error in extracting a file. */
52
-class ExtractionError extends Diagnostic {
53
- ExtractionError() { this.getTag() = "parse_error" }
54
-}
+/** A diagnostic that is error severity. */
+class ExtractionError extends Diagnostic, @diagnostic_error { }
+
+/** A diagnostic that is warning severity. */
55
+class ExtractionWarning extends Diagnostic, @diagnostic_warning { }
0 commit comments