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:32:39 UTC
[cordova-paramedic] branch janpio-better_target updated: complete
emulator string as target instead of just device
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 de060f1 complete emulator string as target instead of just device
de060f1 is described below
commit de060f16bd9ab55141b848de08009a2923bb0760
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Mon Apr 15 23:32:25 2019 +0200
complete emulator string as target instead of just device
---
lib/ParamedicTargetChooser.js | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lib/ParamedicTargetChooser.js b/lib/ParamedicTargetChooser.js
index 13d4e12..949cd8c 100644
--- a/lib/ParamedicTargetChooser.js
+++ b/lib/ParamedicTargetChooser.js
@@ -134,11 +134,9 @@ class ParamedicTargetChooser {
logger.info('cordova-paramedic: Choosing Target for iOS');
const simulatorModelId = utilities.getSimulatorModelId(this.cli, target);
- const split = simulatorModelId.split(', ');
- const device = split[0].trim();
const simId = utilities.getSimulatorId(simulatorModelId);
- return Q({ target: device, simId: simId });
+ return Q({ target: simulatorModelId, simId: simId });
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org