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 22:27:59 UTC

[cordova-paramedic] branch janpio-better_target updated: Update ParamedicTargetChooser.js

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


The following commit(s) were added to refs/heads/janpio-better_target by this push:
     new 591e122  Update ParamedicTargetChooser.js
591e122 is described below

commit 591e122785123f403310d24415dc70fe57e51780
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Tue Apr 16 00:27:54 2019 +0200

    Update ParamedicTargetChooser.js
---
 lib/ParamedicTargetChooser.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ParamedicTargetChooser.js b/lib/ParamedicTargetChooser.js
index 949cd8c..ee0f49b 100644
--- a/lib/ParamedicTargetChooser.js
+++ b/lib/ParamedicTargetChooser.js
@@ -136,7 +136,7 @@ class ParamedicTargetChooser {
         const simulatorModelId = utilities.getSimulatorModelId(this.cli, target);
         const simId = utilities.getSimulatorId(simulatorModelId);
 
-        return Q({ target: simulatorModelId, simId: simId });
+        return Q({ target: simulatorModelId.trim(), simId: simId });
     }
 }
 


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