Skip to content

Commit

Permalink
fixup: don't depend on private properties
Browse files Browse the repository at this point in the history
  • Loading branch information
ronag committed Mar 11, 2020
1 parent 70eabc1 commit bed9a32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/internal/streams/pipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ let createReadableStreamAsyncIterator;
function isIncoming(stream) {
return (
stream.socket &&
typeof stream._dump === 'function' &&
typeof stream._consuming === 'boolean' &&
typeof stream.complete === 'boolean' &&
ArrayIsArray(stream.rawTrailers) &&
ArrayIsArray(stream.rawHeaders)
);
}
Expand Down

0 comments on commit bed9a32

Please sign in to comment.