cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shaz...@apache.org
Subject [6/9] ios commit: CB-8907 - cordova ios emulate --list it shows duplicates when ios simulators are present for 7.x and 8.x
Date Tue, 19 May 2015 23:21:17 GMT
CB-8907 - cordova ios emulate --list it shows duplicates when ios simulators are present for
7.x and 8.x


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/d302e8a6
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/d302e8a6
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/d302e8a6

Branch: refs/heads/4.0.x
Commit: d302e8a676c28682199fb1db9e33fffbd4cf36c9
Parents: 19187a2
Author: Shazron Abdullah <shazron@apache.org>
Authored: Tue May 12 13:50:33 2015 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Tue May 12 13:50:33 2015 -0700

----------------------------------------------------------------------
 bin/templates/scripts/cordova/lib/list-emulator-images | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/d302e8a6/bin/templates/scripts/cordova/lib/list-emulator-images
----------------------------------------------------------------------
diff --git a/bin/templates/scripts/cordova/lib/list-emulator-images b/bin/templates/scripts/cordova/lib/list-emulator-images
index 0c7f0c5..07dd1a4 100755
--- a/bin/templates/scripts/cordova/lib/list-emulator-images
+++ b/bin/templates/scripts/cordova/lib/list-emulator-images
@@ -32,8 +32,7 @@ var Q = require('q'),
 function listEmulatorImages () {
     return check_reqs.check_ios_sim().then(function () {
         return Q.nfcall(exec, 'ios-sim showdevicetypes 2>&1 | ' +
-            'sed "s/com.apple.CoreSimulator.SimDeviceType.//g" | ' +
-            'awk -F\',\' \'{print $1}\'');
+            'sed "s/com.apple.CoreSimulator.SimDeviceType.//g"');
     }).then(function (stdio) {
         // Exec promise resolves with array [stout, stderr], and we need stdout only
         return stdio[0].trim().split('\n');


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


Mime
View raw message