Skip to content

Commit 8525296

Browse files
Minor fix 🚧
1 parent f8b0948 commit 8525296

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/commands/run.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ export class RunIosCommand implements ICommand {
7575
}
7676

7777
public async canExecute(args: string[]): Promise<boolean> {
78+
const projectData = this.$projectDataService.getProjectData();
79+
7880
if (!this.$platformService.isPlatformSupportedForOS(this.$devicePlatformsConstants.iOS, projectData)) {
7981
this.$errors.fail(`Applications for platform ${this.$devicePlatformsConstants.iOS} can not be built on this OS`);
8082
}

0 commit comments

Comments
 (0)