cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject [4/4] git commit: CB-5808 Fix lazy_load stripping off windows drive letters
Date Thu, 16 Jan 2014 18:30:09 GMT
CB-5808 Fix lazy_load stripping off windows drive letters


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

Branch: refs/heads/master
Commit: abc993d5d093044883b3315e7c52036cbc159c28
Parents: 79c799b
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Thu Jan 16 13:29:40 2014 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Thu Jan 16 13:29:40 2014 -0500

----------------------------------------------------------------------
 src/lazy_load.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/abc993d5/src/lazy_load.js
----------------------------------------------------------------------
diff --git a/src/lazy_load.js b/src/lazy_load.js
index 736ff55..6de1f7c 100644
--- a/src/lazy_load.js
+++ b/src/lazy_load.js
@@ -59,8 +59,7 @@ module.exports = {
             }
         } else {
             // Local path.
-            download_dir = uri.path;
-            lib_dir = platforms[platform] && platforms[platform].subdirectory ? path.join(download_dir,
platforms[platform].subdirectory) : download_dir;
+            lib_dir = platforms[platform] && platforms[platform].subdirectory ? path.join(url,
platforms[platform].subdirectory) : url;
             return Q(lib_dir);
         }
         return hooker.fire('before_library_download', {


Mime
View raw message