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:
authorAndrew Horton <andrew.j.horton@gmail.com>2014-02-02 17:51:01 +0400
committerAndrew Horton <andrew.j.horton@gmail.com>2014-02-02 17:51:01 +0400
commitb99d465221ac03bca30976cbf4d62ca80ab34091 (patch)
tree0396f00e21703b1252c5319e8421806bcfae1e32 /lib/bugs.js
parent735427a69ba4fe92aafa2d88f202aaa42920a9e2 (diff)
Typo, "err" variable name should be "er".
Diffstat (limited to 'lib/bugs.js')
-rw-r--r--lib/bugs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bugs.js b/lib/bugs.js
index 604748a97..be79ab30e 100644
--- a/lib/bugs.js
+++ b/lib/bugs.js
@@ -25,7 +25,7 @@ function bugs (args, cb) {
else if (er) return cb (er)
if (!s.isDirectory()) return callRegistry(n, cb)
readJson(path.resolve(n, "package.json"), function(er, d) {
- if (er) return cb(err)
+ if (er) return cb(er)
getUrlAndOpen(d, cb)
})
})