Permalink
Browse files

Typo, "err" variable name should be "er".

  • Loading branch information...
1 parent 735427a commit b99d465221ac03bca30976cbf4d62ca80ab34091 @Hoops Hoops committed Feb 2, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bugs.js
View
@@ -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)
})
})

0 comments on commit b99d465

Please sign in to comment.