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/15 21:05:14 UTC

[cordova-paramedic] 01/01: quote target

This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch janpio-better_target
in repository https://gitbox.apache.org/repos/asf/cordova-paramedic.git

commit bdcbd6f349784d012b638de6728b2fdb4097b196
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Mon Apr 15 23:05:03 2019 +0200

    quote target
---
 lib/paramedic.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/paramedic.js b/lib/paramedic.js
index 42fd9a5..5838de3 100644
--- a/lib/paramedic.js
+++ b/lib/paramedic.js
@@ -394,7 +394,7 @@ class ParamedicRunner {
         return Q().then(() => paramedicTargetChooser.chooseTarget(/* useEmulator= */true, /* preferredTarget= */this.config.getTarget()))
             .then((targetObj) => {
                 this.targetObj = targetObj;
-                cmd += ' --target ' + this.targetObj.target;
+                cmd += ' --target "' + this.targetObj.target + '"';
 
                 // CB-11472 In case of iOS provide additional '--emulator' flag, otherwise
                 // 'cordova run ios --target' would hang waiting for device with name


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org