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 authored and Node.js GitHub Bot committed 2022-02-05 12:58:31 +00:00
1 parent a02099b9f2
commit 73a75c2ee6
1 file changed
+1 -1
+1 -1
View File
@@ -1358,7 +1358,7 @@ function readableStreamPipeTo(
async function run() {
// Run until step resolves as true
while (!await step()) {}
while (!await step());
}
if (signal !== undefined) {