Skip to content

Commit

Permalink
stream: remove empty block
Browse files Browse the repository at this point in the history
PR-URL: #41831
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 ruyadorno committed Feb 8, 2022
1 parent e1ae61b commit 6c82276
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 6c82276

Please sign in to comment.