mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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:
committed by
Node.js GitHub Bot
parent
a02099b9f2
commit
73a75c2ee6
@@ -1358,7 +1358,7 @@ function readableStreamPipeTo(
|
||||
|
||||
async function run() {
|
||||
// Run until step resolves as true
|
||||
while (!await step()) {}
|
||||
while (!await step());
|
||||
}
|
||||
|
||||
if (signal !== undefined) {
|
||||
|
||||
Reference in New Issue
Block a user