mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +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:
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user