Skip to content

Commit

Permalink
Fix passing appName on app launching step
Browse files Browse the repository at this point in the history
  • Loading branch information
lebedev committed Apr 5, 2018
1 parent 208489f commit 2de3c42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions local-cli/runIOS/runIOS.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ 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));
.then((appName) => resolve([selectedSimulator.udid, appName]));
})
.then((udid, appName) => {
.then(([udid, appName]) => {
if (!appName) {
appName = scheme;
}
Expand Down

0 comments on commit 2de3c42

Please sign in to comment.