Skip to content

Commit

Permalink
Merge pull request #23293 from osunnarvik/parse_simulator_list
Browse files Browse the repository at this point in the history
Parse simulator list
  • Loading branch information
cpojer authored Feb 5, 2019
2 parents 6c83945 + 9a8c959 commit 98bcfe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion local-cli/runIOS/findMatchingSimulator.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function findMatchingSimulator(simulators, simulatorString) {
var match;
for (let version in devices) {
// Making sure the version of the simulator is an iOS or tvOS (Removes Apple Watch, etc)
if (!version.startsWith('iOS') && !version.startsWith('tvOS')) {
if (!version.includes('iOS') && !version.includes('tvOS')) {
continue;
}
if (simulatorVersion && !version.endsWith(simulatorVersion)) {
Expand Down

0 comments on commit 98bcfe0

Please sign in to comment.