Skip to content

Commit

Permalink
Fixes runIOS regressions facebook#18681
Browse files Browse the repository at this point in the history
  • Loading branch information
grabbou authored 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

0 comments on commit 589eae1

Please sign in to comment.