You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2019/04/12 19:40:51 UTC
[cordova-paramedic] branch janpio-xcode10.1 updated: add debug
command
This is an automated email from the ASF dual-hosted git repository.
janpio pushed a commit to branch janpio-xcode10.1
in repository https://gitbox.apache.org/repos/asf/cordova-paramedic.git
The following commit(s) were added to refs/heads/janpio-xcode10.1 by this push:
new 8a35238 add debug command
8a35238 is described below
commit 8a35238e8501c1edcf70d524a51e2927ee8952f4
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Fri Apr 12 21:40:41 2019 +0200
add debug command
---
lib/utils/utilities.js | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/utils/utilities.js b/lib/utils/utilities.js
index ba4e215..adba20f 100644
--- a/lib/utils/utilities.js
+++ b/lib/utils/utilities.js
@@ -62,6 +62,11 @@ function getSimulatorsFolder() {
}
function getSimulatorModelId(cli, target) {
+ var bla = cli + ' run --list --emulator' + module.exports.PARAMEDIC_COMMON_CLI_ARGS;
+ logger.info('running:');
+ logger.info(' ' + bla);
+ var foo = exec(bla);
+
var findSimCommand;
if (target) {
findSimCommand = cli + ' run --list --emulator' + module.exports.PARAMEDIC_COMMON_CLI_ARGS + ' | grep ' + target + ' | tail -n1';
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org