Skip to content

Commit 4c7ec59

Browse files
committed
Ruby: Sync identical files.
1 parent 2e772a8 commit 4c7ec59

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

ruby/ql/lib/codeql/ruby/Diagnostics.qll

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ class Diagnostic extends @diagnostic {
4848
string toString() { result = this.getMessage() }
4949
}
5050

51-
/** A diagnostic relating to a particular error in extracting a file. */
52-
class ExtractionError extends Diagnostic {
53-
ExtractionError() { this.getTag() = "parse_error" }
54-
}
51+
/** A diagnostic that is error severity. */
52+
class ExtractionError extends Diagnostic, @diagnostic_error { }
53+
54+
/** A diagnostic that is warning severity. */
55+
class ExtractionWarning extends Diagnostic, @diagnostic_warning { }

0 commit comments

Comments
 (0)