Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
ronag committed Jul 30, 2021
1 parent 9b1a397 commit 2e2f7ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/api/readable.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,9 @@ function consumeStart (consume) {

consume.stream.resume()

while (consume.stream.read() != null);
while (consume.stream.read() != null) {
// Loop
}
}

function consumeEnd (consume) {
Expand Down

0 comments on commit 2e2f7ff

Please sign in to comment.