Skip to content

Commit

Permalink
fix: cli 12 requires platform name w/ cordova run --list (#258)
Browse files Browse the repository at this point in the history
* fix: cli 12 requires platform name w/ cordova run --list
* ci: test if target accepts regex
  • Loading branch information
erisu committed Jun 2, 2023
1 parent 74bdbac commit a4e3ba3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion conf/pr/local/ios-13.x.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"platform": "ios@latest",
"action": "run",
"cleanUpAfterRun": true,
"target": "iPhone-11, 13.7",
"target": "^iPhone-11, 13.\\d$",
"verbose": true
}
2 changes: 1 addition & 1 deletion conf/pr/local/ios-14.x.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"platform": "ios@latest",
"action": "run",
"cleanUpAfterRun": true,
"target": "iPhone-12, 14.4",
"target": "^iPhone-12, 14.\\d$",
"verbose": true
}
2 changes: 1 addition & 1 deletion conf/pr/local/ios-15.x.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"platform": "ios@latest",
"action": "run",
"cleanUpAfterRun": true,
"target": "iPhone-13, 15.0",
"target": "^iPhone-13, 15.\\d$",
"verbose": true
}
1 change: 1 addition & 0 deletions lib/utils/utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ function getSimulatorModelId (cli, target) {

const args = [
'run',
'ios',
'--list',
'--emulator'
].concat(module.exports.PARAMEDIC_COMMON_ARGS);
Expand Down

0 comments on commit a4e3ba3

Please sign in to comment.