cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject cordova-paramedic git commit: Use basename when searching for appium plugin tests within generated app directory, so that tests can be found if plugin is provided with either absolute or relative directories.
Date Mon, 12 Dec 2016 22:23:09 GMT
Repository: cordova-paramedic
Updated Branches:
  refs/heads/master 4ac87e0e8 -> 907917681


Use basename when searching for appium plugin tests within generated app directory, so that
tests can be found if plugin is provided with either absolute or relative directories.


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

Branch: refs/heads/master
Commit: 9079176814d7ac257f7b7940dedfd5d43396eb34
Parents: 4ac87e0
Author: filmaj <maj.fil@gmail.com>
Authored: Mon Dec 12 14:13:14 2016 -0800
Committer: filmaj <maj.fil@gmail.com>
Committed: Mon Dec 12 14:13:14 2016 -0800

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


http://git-wip-us.apache.org/repos/asf/cordova-paramedic/blob/90791768/lib/paramedic.js
----------------------------------------------------------------------
diff --git a/lib/paramedic.js b/lib/paramedic.js
index 29f56c5..ad273d6 100644
--- a/lib/paramedic.js
+++ b/lib/paramedic.js
@@ -320,7 +320,7 @@ ParamedicRunner.prototype.runAppiumTests = function (useSauce) {
         platform: self.config.getPlatformId(),
         appPath: self.tempFolder.name,
         pluginRepos: self.config.getPlugins().map(function (plugin) {
-            return path.join(self.tempFolder.name, 'plugins', plugin);
+            return path.join(self.tempFolder.name, 'plugins', path.basename(plugin));
         }),
         appiumDeviceName: self.targetObj && self.targetObj.target,
         appiumPlatformVersion: null,


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


Mime
View raw message