You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by er...@apache.org on 2019/04/26 04:25:58 UTC
[cordova-paramedic] branch erisu-config-test updated: Updated the
iOS Target Chooser
This is an automated email from the ASF dual-hosted git repository.
erisu pushed a commit to branch erisu-config-test
in repository https://gitbox.apache.org/repos/asf/cordova-paramedic.git
The following commit(s) were added to refs/heads/erisu-config-test by this push:
new e47ea73 Updated the iOS Target Chooser
e47ea73 is described below
commit e47ea73d961af06d5a12e448f962f42830540d42
Author: エリス <el...@gmail.com>
AuthorDate: Fri Apr 26 13:25:47 2019 +0900
Updated the iOS Target Chooser
---
lib/ParamedicTargetChooser.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/ParamedicTargetChooser.js b/lib/ParamedicTargetChooser.js
index 83033ff..1520083 100644
--- a/lib/ParamedicTargetChooser.js
+++ b/lib/ParamedicTargetChooser.js
@@ -134,11 +134,11 @@ 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: utilities.getSimulatorId(simulatorModelId)
+ });
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org