npm/npm — pull request #4590 by Hoops (2014-02-02 13:56:59+00:00)
Title: Undefined "err" variable in "npm bugs"

One-liner to fix the error handling. If you run `npm bugs` in a directory that doesn't have a `package.json` then the command fails with `ReferenceError: err is not defined`