Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2012-07-11 20:49:34 +0400
committerisaacs <i@izs.me>2012-07-11 20:49:34 +0400
commit81fa33a6ccf7c8eeef99386b75e9d2cf33986256 (patch)
tree1e6ce57d76f690ce99a4a8bed9f0f034199544d2 /lib/npm.js
parentf8cbb5154a5a3ae6b7326ef6600a9f6ff8572c16 (diff)
Un-break cache-min and cache-max configs
Diffstat (limited to 'lib/npm.js')
-rw-r--r--lib/npm.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/npm.js b/lib/npm.js
index a40ae63db..dd85b832b 100644
--- a/lib/npm.js
+++ b/lib/npm.js
@@ -298,6 +298,8 @@ function load (npm, conf, cb) {
, retryFactor: npm.config.get("fetch-retry-factor")
, retryMinTimeout: npm.config.get("fetch-retry-mintimeout")
, retryMaxTimeout: npm.config.get("fetch-retry-maxtimeout")
+ , cacheMin: npm.config.get("cache-min")
+ , cacheMax: npm.config.get("cache-max")
})
// save the token cookie in the config file