Skip to content

Commit

Permalink
stream: remove empty block
Browse files Browse the repository at this point in the history
PR-URL: nodejs#41831
Backport-PR-URL: nodejs#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 4, 2022
1 parent e06462b commit b0366f1
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 b0366f1

Please sign in to comment.