Skip to content

Commit 4bf1f33

Browse files
lpincadanielleadams
authored andcommitted
stream,util: fix "the the" typo in comments
PR-URL: #37674 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
1 parent 0d3cc2d commit 4bf1f33

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)