You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2015/05/05 16:25:34 UTC

cordova-lib git commit: CB-8956 Remove hardcoded reference to registry.npmjs.org

Repository: cordova-lib
Updated Branches:
  refs/heads/master 7515eff62 -> a151273a9


CB-8956 Remove hardcoded reference to registry.npmjs.org

Allows for 'cordova platform add' to work with custom/hosted registries


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

Branch: refs/heads/master
Commit: a151273a9eef04775136054640018ba8571a5c29
Parents: 7515eff
Author: mattdsteele <or...@gmail.com>
Authored: Mon May 4 17:31:53 2015 -0500
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Tue May 5 10:25:13 2015 -0400

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


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/a151273a/cordova-lib/src/cordova/lazy_load.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/cordova/lazy_load.js b/cordova-lib/src/cordova/lazy_load.js
index 71ab5dd..aff56a4 100644
--- a/cordova-lib/src/cordova/lazy_load.js
+++ b/cordova-lib/src/cordova/lazy_load.js
@@ -145,8 +145,7 @@ function npm_cache_add(pkg) {
     // does not ask the registry if it got a fresher version.
     var platformNpmConfig = {
         'cache-min': 3600*24,
-        cache: npm_cache_dir,
-        registry: 'https://registry.npmjs.org'
+        cache: npm_cache_dir
     };
 
     return npmhelper.loadWithSettingsThenRestore(platformNpmConfig, function () {


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