Skip to content

Commit 029b237

Browse files
Do not start emulator when --available-devices is passed
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 53e56f5 commit 029b237

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

0 commit comments

Comments
 (0)