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
path: root/lib
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2014-05-02 03:11:26 +0400
committerisaacs <i@izs.me>2014-05-02 03:11:26 +0400
commite21c9c2fac024709e357547af4281f99b3997dfc (patch)
treec9005c6e3ec7c12e9031b33c1467546a9c386e8e /lib
parentcc6ec187b5250558926b28110d0b4eb52510832c (diff)
cache: Fix typo bug (plus test)
Diffstat (limited to 'lib')
-rw-r--r--lib/cache.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cache.js b/lib/cache.js
index 5c2d07840..32fb9f832 100644
--- a/lib/cache.js
+++ b/lib/cache.js
@@ -711,7 +711,7 @@ function addNameTag (name, tag, data, cb_) {
registry.get(name, function (er, data, json, response) {
if (!er) {
- er = errorResponse(name, resp)
+ er = errorResponse(name, response)
}
if (er) return cb(er)
engineFilter(data)