stream: remove empty block

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Rich Trott 2022-02-02 22:07:07 -08:00 committed by Node.js GitHub Bot
parent a02099b9f2
commit 73a75c2ee6

View File

@ -1358,7 +1358,7 @@ function readableStreamPipeTo(
async function run() { async function run() {
// Run until step resolves as true // Run until step resolves as true
while (!await step()) {} while (!await step());
} }
if (signal !== undefined) { if (signal !== undefined) {