Skip to content

Commit 756328a

Browse files
lpincadanielleadams
authored andcommitted
stream,util: fix "the the" typo in comments
PR-URL: #37674 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Darshan Sen <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 71150ee commit 756328a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/internal/streams/readable.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ function maybeReadMore_(stream, state) {
621621
// conditions prevent the data from being read:
622622
// - The stream has ended (state.ended).
623623
// - There is already a pending 'read' operation (state.reading). This is a
624-
// case where the the stream has called the implementation defined _read()
624+
// case where the stream has called the implementation defined _read()
625625
// method, but they are processing the call asynchronously and have _not_
626626
// called push() with new data. In this case we skip performing more
627627
// read()s. The execution ends in this method again after the _read() ends

lib/internal/util/inspect.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1758,7 +1758,7 @@ function reduceToSingleString(
17581758
ctx, output, base, braces, extrasType, recurseTimes, value) {
17591759
if (ctx.compact !== true) {
17601760
if (typeof ctx.compact === 'number' && ctx.compact >= 1) {
1761-
// Memorize the original output length. In case the the output is grouped,
1761+
// Memorize the original output length. In case the output is grouped,
17621762
// prevent lining up the entries on a single line.
17631763
const entries = output.length;
17641764
// Group array elements together if the array contains at least six

0 commit comments

Comments
 (0)