mirror of
https://github.com/github/codeql.git
synced 2026-02-19 08:23:45 +01:00
simplify ExtractionError class defn
This commit is contained in:
@@ -47,9 +47,6 @@ class Diagnostic extends @diagnostic {
|
||||
}
|
||||
|
||||
/** A diagnostic relating to a particular error in extracting a file. */
|
||||
class ExtractionError extends Diagnostic {
|
||||
ExtractionError() {
|
||||
this.getSeverity() = 3 and
|
||||
this.getTag() = "parse_error"
|
||||
}
|
||||
class ExtractionError extends Diagnostic, @diagnostic_error {
|
||||
ExtractionError() { this.getTag() = "parse_error" }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user