diff options
Diffstat (limited to 'lib/bugs.js')
-rw-r--r-- | lib/bugs.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/bugs.js b/lib/bugs.js index 5f166c33f..10300d1e1 100644 --- a/lib/bugs.js +++ b/lib/bugs.js @@ -1,8 +1,7 @@ module.exports = bugs -var npm = require('./npm.js') var log = require('npmlog') -var opener = require('opener') +var openUrl = require('./utils/open-url') var fetchPackageMetadata = require('./fetch-package-metadata.js') var usage = require('./utils/usage') @@ -27,6 +26,6 @@ function bugs (args, cb) { url = 'https://www.npmjs.org/package/' + d.name } log.silly('bugs', 'url', url) - opener(url, { command: npm.config.get('browser') }, cb) + openUrl(url, 'bug list available at the following URL', cb) }) } |