Skip to content

Commit b094d1f

Browse files
Do not start emulator when --available-devices is passed (#2736)
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.
1 parent 5c3ea30 commit b094d1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

0 commit comments

Comments
 (0)