apply lint prefer_void_to_null in packages/flutter_tools (#22686)
This commit is contained in:
committed by
GitHub
parent
c26b56cba3
commit
2d3ff10d62
@@ -188,7 +188,7 @@ class DummyFlutterCommand extends FlutterCommand {
|
||||
|
||||
@override
|
||||
Future<FlutterCommandResult> runCommand() async {
|
||||
return commandFunction == null ? null : commandFunction();
|
||||
return commandFunction == null ? null : await commandFunction();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user