Commit e9281c4a authored by Danny Tuppeny's avatar Danny Tuppeny Committed by Danny Tuppeny

Fix formatting

parent 72d0e0b4
...@@ -32,8 +32,9 @@ class EmulatorsCommand extends FlutterCommand { ...@@ -32,8 +32,9 @@ class EmulatorsCommand extends FlutterCommand {
if (doctor.workflows.every((Workflow w) => !w.canListEmulators)) { if (doctor.workflows.every((Workflow w) => !w.canListEmulators)) {
throwToolExit( throwToolExit(
'Unable to find any emulator sources. Please ensure you have some\n' 'Unable to find any emulator sources. Please ensure you have some\n'
'Android AVD images ' + (platform.isMacOS ? 'or an iOS Simulator ' : '') 'Android AVD images ' +
+ 'available.', (platform.isMacOS ? 'or an iOS Simulator ' : '') +
'available.',
exitCode: 1); exitCode: 1);
} }
...@@ -65,8 +66,7 @@ class EmulatorsCommand extends FlutterCommand { ...@@ -65,8 +66,7 @@ class EmulatorsCommand extends FlutterCommand {
} }
Future<Null> _listEmulators(String searchText) async { Future<Null> _listEmulators(String searchText) async {
final List<Emulator> emulators = final List<Emulator> emulators = searchText == null
searchText == null
? await emulatorManager.getAllAvailableEmulators() ? await emulatorManager.getAllAvailableEmulators()
: await emulatorManager.getEmulatorsMatching(searchText); : await emulatorManager.getEmulatorsMatching(searchText);
......
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