apply partially the upcoming unnecessary_lambdas (#8810)
This commit is contained in:
committed by
GitHub
parent
f9ad230f15
commit
2166ea5b7f
@@ -250,7 +250,7 @@ class FlutterCommandRunner extends CommandRunner<Null> {
|
||||
}
|
||||
|
||||
// The Android SDK could already have been set by tests.
|
||||
context.putIfAbsent(AndroidSdk, () => AndroidSdk.locateAndroidSdk());
|
||||
context.putIfAbsent(AndroidSdk, AndroidSdk.locateAndroidSdk);
|
||||
|
||||
if (globalResults['version']) {
|
||||
flutterUsage.sendCommand('version');
|
||||
|
||||
Reference in New Issue
Block a user