File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
lib/common/mobile/mobile-core Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -128,9 +128,6 @@ export class DevicesService extends EventEmitter implements Mobile.IDevicesServi
128128 const availableEmulatorsOutput = await this . getEmulatorImages ( { platform : options . platform } ) ;
129129 const emulators = this . $emulatorHelper . getEmulatorsFromAvailableEmulatorsOutput ( availableEmulatorsOutput ) ;
130130 const errors = this . $emulatorHelper . getErrorsFromAvailableEmulatorsOutput ( availableEmulatorsOutput ) ;
131- if ( errors . length ) {
132- return errors ;
133- }
134131
135132 let emulator = null ;
136133 if ( options . imageIdentifier ) {
@@ -140,7 +137,8 @@ export class DevicesService extends EventEmitter implements Mobile.IDevicesServi
140137 }
141138
142139 if ( ! emulator ) {
143- return [ `Unable to find emulator with provided options: ${ options } ` ] ;
140+ const additionalErrors = errors && errors . length ? errors : [ ] ;
141+ return [ `Unable to find emulator with provided options: ${ options } ` , ...additionalErrors ] ;
144142 }
145143
146144 // emulator is already running
You can’t perform that action at this time.
0 commit comments