Skip to content

Commit

Permalink
stream: remove empty block
Browse files Browse the repository at this point in the history
PR-URL: #41831
Backport-PR-URL: #42160
Refs: https://eslint.org/docs/rules/no-empty
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
Trott authored and danielleadams committed Mar 14, 2022
1 parent 08b3bd2 commit aebd82e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/webstreams/readablestream.js
Original file line number Diff line number Diff line change
Expand Up @@ -1358,7 +1358,7 @@ function readableStreamPipeTo(

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

if (signal !== undefined) {
Expand Down

0 comments on commit aebd82e

Please sign in to comment.