Skip to content

Commit

Permalink
stream: add comment to empty block
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Feb 3, 2022
1 parent b43e8b3 commit 5c83580
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/internal/webstreams/readablestream.js
Original file line number Diff line number Diff line change
Expand Up @@ -1358,7 +1358,9 @@ function readableStreamPipeTo(

async function run() {
// Run until step resolves as true
while (!await step()) {}
while (!await step()) {
// empty
}
}

if (signal !== undefined) {
Expand Down

0 comments on commit 5c83580

Please sign in to comment.