From 7858de4f63e5d6e73ec9d73cd43de052e417d6c9 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Tue, 9 Mar 2021 14:47:17 +0100 Subject: [PATCH] stream,util: fix "the the" typo in comments PR-URL: https://github.com/nodejs/node/pull/37674 Reviewed-By: Antoine du Hamel Reviewed-By: Richard Lau Reviewed-By: Darshan Sen Reviewed-By: Benjamin Gruenbaum Reviewed-By: Colin Ihrig Reviewed-By: Rich Trott Reviewed-By: Trivikram Kamat --- lib/internal/streams/readable.js | 2 +- lib/internal/util/inspect.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/internal/streams/readable.js b/lib/internal/streams/readable.js index 5b452be93ec0cc..cb13210d2b87db 100644 --- a/lib/internal/streams/readable.js +++ b/lib/internal/streams/readable.js @@ -616,7 +616,7 @@ function maybeReadMore_(stream, state) { // conditions prevent the data from being read: // - The stream has ended (state.ended). // - There is already a pending 'read' operation (state.reading). This is a - // case where the the stream has called the implementation defined _read() + // case where the stream has called the implementation defined _read() // method, but they are processing the call asynchronously and have _not_ // called push() with new data. In this case we skip performing more // read()s. The execution ends in this method again after the _read() ends diff --git a/lib/internal/util/inspect.js b/lib/internal/util/inspect.js index 7845ee20ae8459..2b6124f61105a1 100644 --- a/lib/internal/util/inspect.js +++ b/lib/internal/util/inspect.js @@ -1777,7 +1777,7 @@ function reduceToSingleString( ctx, output, base, braces, extrasType, recurseTimes, value) { if (ctx.compact !== true) { if (typeof ctx.compact === 'number' && ctx.compact >= 1) { - // Memorize the original output length. In case the the output is grouped, + // Memorize the original output length. In case the output is grouped, // prevent lining up the entries on a single line. const entries = output.length; // Group array elements together if the array contains at least six