Tweak text because we check IDs and names

And it's not obvious to the use what the ID is.
This commit is contained in:
Danny Tuppeny 2018-04-19 08:25:08 +01:00 committed by Danny Tuppeny
parent 1c7dce3406
commit 2144c7a6d3

View File

@ -46,9 +46,9 @@ class EmulatorsCommand extends FlutterCommand {
await emulatorManager.getEmulatorsById(id).toList();
if (emulators.isEmpty) {
printStatus("No emulator found that matches the ID '$id'.");
printStatus("No emulator found that matches '$id'.");
} else if (emulators.length > 1) {
printStatus("More than one emulator matches the ID '$id':\n");
printStatus("More than one emulator matches '$id':\n");
Emulator.printEmulators(emulators);
} else {
emulators.first.launch();