Commit c973629e authored by pq's avatar pq

Fixed braces.

parent 96de7c4d
......@@ -217,10 +217,8 @@ class AnalysisErrorDescription {
String get errorType {
ErrorSeverity severity = errorCode.errorSeverity;
if (severity == ErrorSeverity.INFO) {
if (errorCode.type == ErrorType.HINT ||
errorCode.type == ErrorType.LINT) {
if (errorCode.type == ErrorType.HINT || errorCode.type == ErrorType.LINT)
return errorCode.type.displayName;
}
}
return severity.displayName;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment