Skip to content

Commit

Permalink
Update get-stream dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Aug 20, 2018
1 parent 50384aa commit ff2f4b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ function getStream(process, stream, {encoding, buffer, maxBuffer}) {
let ret;

if (!buffer) {
// TODO: Use `ret = util.promisify(stream.finished)(process[stream]);` when targeting Node.js 10
ret = new Promise((resolve, reject) => {
process[stream]
.once('end', resolve)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
],
"dependencies": {
"cross-spawn": "^6.0.0",
"get-stream": "^3.0.0",
"get-stream": "^4.0.0",
"is-stream": "^1.1.0",
"npm-run-path": "^2.0.0",
"p-finally": "^1.0.0",
Expand Down

0 comments on commit ff2f4b8

Please sign in to comment.