cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alsoro...@apache.org
Subject [2/2] cordova-paramedic git commit: CB-11576 Paramedic fails to launch Appium tests on iOS "Plus" Simulators
Date Thu, 14 Jul 2016 11:46:44 GMT
CB-11576 Paramedic fails to launch Appium tests on iOS "Plus" Simulators


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

Branch: refs/heads/master
Commit: c53e22e6ee3a543b7621fedd49c2831e709dc630
Parents: 6ff2afd
Author: Alexander Sorokin <alexander.sorokin@akvelon.com>
Authored: Thu Jul 14 14:46:28 2016 +0300
Committer: Alexander Sorokin <alexander.sorokin@akvelon.com>
Committed: Thu Jul 14 14:46:28 2016 +0300

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


http://git-wip-us.apache.org/repos/asf/cordova-paramedic/blob/c53e22e6/lib/appium/AppiumRunner.js
----------------------------------------------------------------------
diff --git a/lib/appium/AppiumRunner.js b/lib/appium/AppiumRunner.js
index ee81c41..699b24f 100644
--- a/lib/appium/AppiumRunner.js
+++ b/lib/appium/AppiumRunner.js
@@ -216,7 +216,7 @@ AppiumRunner.prototype.prepareOptions = function () {
         this.options.device = false;
     }
     if (this.options.platform === 'ios' && this.options.appiumDeviceName) {
-        this.options.appiumDeviceName = this.options.appiumDeviceName.replace('-', ' ');
+        this.options.appiumDeviceName = this.options.appiumDeviceName.replace(/-/g, ' ');
     }
 };
 


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


Mime
View raw message