Commit b094d1f
committed
Do not start emulator when
In case there's no devices attached and no emulators running, trying `<cli name> devices <platform> --available-devices` will start emulator.
In order to fix this, modify the `startEmulatorIfNecessary` method to skip the starting in case `skipInferPlatform` option is passed. This option indicates that we are not concerned of specific platform, so the method does not know which is the target platform for which to start emulator.
Add unit test for this behavior.--available-devices is passed (#2736)1 parent 5c3ea30 commit b094d1f
1 file changed
Lines changed: 1 addition & 1 deletion
0 commit comments