Skip to content

Commit 5bea8b4

Browse files
JeroenManderslootitaloacasas
authored andcommitted
doc: fix occurences of "the the"
I identified a number of files where it said "the the" in the comments of the source code and in general documentation texts. I replaced these occurences with a single instance of "the". PR-URL: #11711 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]>
1 parent 517c3af commit 5bea8b4

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

doc/api/child_process.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ the process is spawned. The default options are:
193193
}
194194
```
195195

196-
If `timeout` is greater than `0`, the parent will send the the signal
196+
If `timeout` is greater than `0`, the parent will send the signal
197197
identified by the `killSignal` property (the default is `'SIGTERM'`) if the
198198
child runs longer than `timeout` milliseconds.
199199

doc/api/stream.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ If the data to be written can be generated or fetched on demand, it is
480480
recommended to encapsulate the logic into a [Readable][] and use
481481
[`stream.pipe()`][]. However, if calling `write()` is preferred, it is
482482
possible to respect backpressure and avoid memory issues using the
483-
the [`'drain'`][] event:
483+
[`'drain'`][] event:
484484

485485
```js
486486
function write (data, cb) {

src/cares_wrap.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ static void ares_sockstate_cb(void* data,
220220
task = ares_task_create(env, sock);
221221
if (task == nullptr) {
222222
/* This should never happen unless we're out of memory or something */
223-
/* is seriously wrong. The socket won't be polled, but the the query */
224-
/* will eventually time out. */
223+
/* is seriously wrong. The socket won't be polled, but the query will */
224+
/* eventually time out. */
225225
return;
226226
}
227227

test/parallel/test-env-var-no-warnings.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ if (process.argv[2] === 'child') {
3636
test({ NODE_NO_WARNINGS: '01' });
3737
test({ NODE_NO_WARNINGS: '2' });
3838
// Don't test the number 1 because it will come through as a string in the
39-
// the child process environment.
39+
// child process environment.
4040
test({ NODE_NO_WARNINGS: '1' });
4141
}

0 commit comments

Comments
 (0)