diff options
Diffstat (limited to 'lib/bugs.js')
-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) }) }) |