From e9281c4ac079481e0f70a326c03c40facfdcf162 Mon Sep 17 00:00:00 2001 From: Danny Tuppeny Date: Wed, 9 May 2018 08:04:20 +0100 Subject: [PATCH] Fix formatting --- packages/flutter_tools/lib/src/commands/emulators.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/flutter_tools/lib/src/commands/emulators.dart b/packages/flutter_tools/lib/src/commands/emulators.dart index be19c3419ba..49097486f6e 100644 --- a/packages/flutter_tools/lib/src/commands/emulators.dart +++ b/packages/flutter_tools/lib/src/commands/emulators.dart @@ -32,8 +32,9 @@ class EmulatorsCommand extends FlutterCommand { if (doctor.workflows.every((Workflow w) => !w.canListEmulators)) { throwToolExit( 'Unable to find any emulator sources. Please ensure you have some\n' - 'Android AVD images ' + (platform.isMacOS ? 'or an iOS Simulator ' : '') - + 'available.', + 'Android AVD images ' + + (platform.isMacOS ? 'or an iOS Simulator ' : '') + + 'available.', exitCode: 1); } @@ -65,8 +66,7 @@ class EmulatorsCommand extends FlutterCommand { } Future _listEmulators(String searchText) async { - final List emulators = - searchText == null + final List emulators = searchText == null ? await emulatorManager.getAllAvailableEmulators() : await emulatorManager.getEmulatorsMatching(searchText);