Skip to content

Commit

Permalink
Fixes runIOS regressions #18681
Browse files Browse the repository at this point in the history
  • Loading branch information
grabbou committed Apr 5, 2018
1 parent 2e38418 commit 589eae1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions local-cli/runIOS/runIOS.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,10 @@ Try closing the simulator or run the command again without specifying a simulato
}
}

buildProject(xcodeProject, selectedSimulator.udid, scheme, args.configuration, args.packager, args.verbose)
.then((appName) => resolve(selectedSimulator.udid, appName));
buildProject(xcodeProject, selectedSimulator.udid, scheme, args.configuration, args.packager, args.verbose, args.port)
.then((appName) => resolve({ udid: selectedSimulator.udid, appName }));
})
.then((udid, appName) => {
.then(({udid, appName}) => {
if (!appName) {
appName = scheme;
}
Expand Down

2 comments on commit 589eae1

@lebedev
Copy link
Contributor

@lebedev lebedev commented on 589eae1 Apr 6, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that this should be cherry-picked into master as well.

@grabbou
Copy link
Contributor Author

@grabbou grabbou commented on 589eae1 Apr 6, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, making a PR right now.

Please sign in to comment.