Skip to content
This repository has been archived by the owner on May 21, 2021. It is now read-only.

Commit

Permalink
fix(read-json): use bluebird for promisification
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Dec 5, 2018
1 parent 5f2acf1 commit 8dddde6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"license": "ISC",
"dependencies": {
"bin-links": "^1.1.2",
"bluebird": "^3.5.3",
"find-npm-prefix": "^1.0.2",
"libnpmaccess": "^3.0.1",
"libnpmconfig": "^1.2.1",
Expand Down
2 changes: 1 addition & 1 deletion read-json.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
'use strict'

module.exports = require('util').promisify(require('read-package-json'))
module.exports = require('bluebird').promisify(require('read-package-json'))

0 comments on commit 8dddde6

Please sign in to comment.