mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Remove redundant lines from errors
This commit is contained in:
parent
da5a64ec7f
commit
90bdcef9f9
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user