diff options
author | Andrew Horton <andrew.j.horton@gmail.com> | 2014-02-02 17:51:01 +0400 |
---|---|---|
committer | Andrew Horton <andrew.j.horton@gmail.com> | 2014-02-02 17:51:01 +0400 |
commit | b99d465221ac03bca30976cbf4d62ca80ab34091 (patch) | |
tree | 0396f00e21703b1252c5319e8421806bcfae1e32 /lib | |
parent | 735427a69ba4fe92aafa2d88f202aaa42920a9e2 (diff) |
Typo, "err" variable name should be "er".
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bugs.js | 2 |
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) }) }) |