You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2014/07/26 01:56:30 UTC

git commit: CB-7203 isRelativePath needs to pass path through

Repository: cordova-lib
Updated Branches:
  refs/heads/master f944a6e39 -> 44ca4bf47


CB-7203 isRelativePath needs to pass path through


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

Branch: refs/heads/master
Commit: 44ca4bf470c07260075b80e613e15b431262cbb3
Parents: f944a6e
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Fri Jul 25 16:55:47 2014 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Fri Jul 25 16:55:47 2014 -0700

----------------------------------------------------------------------
 cordova-lib/src/plugman/install.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/44ca4bf4/cordova-lib/src/plugman/install.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/plugman/install.js b/cordova-lib/src/plugman/install.js
index 6a8bea2..f0c0c4f 100644
--- a/cordova-lib/src/plugman/install.js
+++ b/cordova-lib/src/plugman/install.js
@@ -596,7 +596,7 @@ function isAbsolutePath(path) {
 }
 
 function isRelativePath(path) {
-    return !isAbsolutePath();
+    return !isAbsolutePath(path);
 }
 
 // Copy or link a plugin from plugin_dir to plugins_dir/plugin_id.