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-06-06 10:32:49 +0400
committerisaacs <i@izs.me>2014-06-06 10:32:49 +0400
commit8611af0da4c59a567b92f180b908c35f143973c1 (patch)
treeb71671aec878b78266ea6b36697ad096add2b32a /lib
parent57ac974e9bc88bc546a1a6b39810c28ad2423319 (diff)
graceful-fs@3
Diffstat (limited to 'lib')
-rw-r--r--lib/cache/add-named.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cache/add-named.js b/lib/cache/add-named.js
index 7684d01d0..8f71acfa0 100644
--- a/lib/cache/add-named.js
+++ b/lib/cache/add-named.js
@@ -65,7 +65,7 @@ function addNameTag (name, tag, data, cb_) {
return cb_(er, data)
}
- registry.get(name, function (er, data, json, resp) {
+ registry.get(name, {}, function (er, data, json, resp) {
if (!er) {
er = errorResponse(name, resp)
}