Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
Typo, "err" variable name should be "er".
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoops committed Feb 2, 2014
1 parent 735427a commit b99d465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bugs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
})
Expand Down

0 comments on commit b99d465

Please sign in to comment.