enable no_literal_bool_comparisons lint (#126647)
This commit is contained in:
committed by
GitHub
parent
b45f9b36e8
commit
5e1ba701ed
@@ -328,7 +328,7 @@ class AOTSnapshotter {
|
||||
}
|
||||
}
|
||||
} else {
|
||||
assert(stripAfterBuild == false);
|
||||
assert(!stripAfterBuild);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
@@ -1101,7 +1101,7 @@ class PrefixedErrorLogger extends DelegatingLogger {
|
||||
bool? wrap,
|
||||
}) {
|
||||
hadErrorOutput = true;
|
||||
if (message.trim().isNotEmpty == true) {
|
||||
if (message.trim().isNotEmpty) {
|
||||
message = 'ERROR: $message';
|
||||
}
|
||||
super.printError(
|
||||
|
||||
Reference in New Issue
Block a user