From 0b04ed621ba4b43ed40049224f1e049cc7e348ed 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 --- 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 6667c919c086a7..cc3f5e93fd0201 100644 --- a/lib/internal/streams/readable.js +++ b/lib/internal/streams/readable.js @@ -629,7 +629,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 59219821230b51..f658103b954fbb 100644 --- a/lib/internal/util/inspect.js +++ b/lib/internal/util/inspect.js @@ -1758,7 +1758,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