Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup
  • Loading branch information
rickyes committed Jul 8, 2020
commit d97d1879df5298b49c920c1418db91dffc75dfe4
1 change: 1 addition & 0 deletions lib/internal/streams/pipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ function popCallback(streams) {
function popOptions(streams) {
const opts = streams[streams.length - 1];
if (!isStream(opts) &&
!ArrayIsArray(opts) &&
typeof opts === 'object' && opts !== null)
return streams.pop();
}
Expand Down