Enable literal_only_boolean_expressions (#133186)
Blocking issue (https://github.com/dart-lang/linter/issues/453) for this lint has been resolved.
This commit is contained in:
committed by
GitHub
parent
4930613999
commit
382ceb5707
@@ -486,7 +486,7 @@ abstract class FlutterCommand extends Command<void> {
|
||||
}
|
||||
ddsEnabled = !boolArg('disable-dds');
|
||||
// TODO(ianh): enable the following code once google3 is migrated away from --disable-dds (and add test to flutter_command_test.dart)
|
||||
if (false) { // ignore: dead_code
|
||||
if (false) { // ignore: dead_code, literal_only_boolean_expressions
|
||||
if (ddsEnabled) {
|
||||
globals.printWarning('${globals.logger.terminal
|
||||
.warningMark} The "--no-disable-dds" argument is deprecated and redundant, and should be omitted.');
|
||||
|
||||
Reference in New Issue
Block a user