Skip to content

Commit 7858de4

Browse files
lpincatargos
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 85a293b commit 7858de4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/internal/streams/readable.js

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

lib/internal/util/inspect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1777,7 +1777,7 @@ function reduceToSingleString(
17771777
ctx, output, base, braces, extrasType, recurseTimes, value) {
17781778
if (ctx.compact !== true) {
17791779
if (typeof ctx.compact === 'number' && ctx.compact >= 1) {
1780-
// Memorize the original output length. In case the the output is grouped,
1780+
// Memorize the original output length. In case the output is grouped,
17811781
// prevent lining up the entries on a single line.
17821782
const entries = output.length;
17831783
// Group array elements together if the array contains at least six

0 commit comments

Comments
 (0)