We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7f0a9d commit 69a01e3Copy full SHA for 69a01e3
lib/commands/run.ts
@@ -27,6 +27,8 @@ export class RunCommandBase implements ICommand {
27
}
28
29
this.$projectData.initializeProjectData();
30
+ this.platform = args[0] || this.platform;
31
+
32
if (!this.platform && !this.$hostInfo.isDarwin) {
33
this.platform = this.$devicePlatformsConstants.Android;
34
@@ -46,8 +48,6 @@ export class RunCommandBase implements ICommand {
46
48
this.$options.watch = false;
47
49
50
- this.platform = args[0] || this.platform;
-
51
await this.$devicesService.initialize({
52
deviceId: this.$options.device,
53
platform: this.platform,
0 commit comments