Remove redundant lines from errors

This commit is contained in:
Danny Tuppeny 2018-04-19 08:12:25 +01:00 committed by Danny Tuppeny
parent da5a64ec7f
commit 90bdcef9f9
2 changed files with 0 additions and 4 deletions

View File

@ -45,8 +45,6 @@ class AndroidEmulator extends Emulator {
final RunResult launchResult =
await runAsync(<String>[getEmulatorPath(), '-avd', id]);
if (launchResult.exitCode != 0) {
printError(
'Error: emulator exited with exit code ${launchResult.exitCode}');
printError('$launchResult');
return false;
}

View File

@ -41,8 +41,6 @@ class IOSEmulator extends Emulator {
final RunResult launchResult =
await runAsync(<String>['open', '-a', getSimulatorPath()]);
if (launchResult.exitCode != 0) {
printError(
'Error: iOS simulator failed to launch with exit code ${launchResult.exitCode}');
printError('$launchResult');
return false;
}