Skip to content

Commit b667868

Browse files
author
Kristian D. Dimitrov
committed
Fix run without platform on ios.
1 parent 199b293 commit b667868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/commands/run.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class RunCommandBase implements ICommand {
3333
this.platform = this.$devicePlatformsConstants.Android;
3434
}
3535

36-
const availablePlatforms = this.platform ? [this.platform] : this.$platformsData.availablePlatforms;
36+
const availablePlatforms = this.platform ? [this.platform]: _.values<string>(this.$platformsData.availablePlatforms);
3737
for (let platform of availablePlatforms) {
3838
const platformData = this.$platformsData.getPlatformData(platform, this.$projectData);
3939
const platformProjectService = platformData.platformProjectService;

0 commit comments

Comments
 (0)