Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2022-02-03 09:07:07 +0300
committerNode.js GitHub Bot <github-bot@iojs.org>2022-02-05 15:58:31 +0300
commit73a75c2ee63ea65709f63b71ade3b81a02b519fc (patch)
tree136d57293b98b17fb32854c0ac2f27bfd1981f36 /lib
parenta02099b9f22c4e7e1ce9e356a4ad58f960a23d20 (diff)
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/internal/webstreams/readablestream.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/webstreams/readablestream.js b/lib/internal/webstreams/readablestream.js
index bb1bbf947b4..76200cbc1e8 100644
--- a/lib/internal/webstreams/readablestream.js
+++ b/lib/internal/webstreams/readablestream.js
@@ -1358,7 +1358,7 @@ function readableStreamPipeTo(
async function run() {
// Run until step resolves as true
- while (!await step()) {}
+ while (!await step());
}
if (signal !== undefined) {