Skip to content

Commit

Permalink
doc: fix occurences of "the the"
Browse files Browse the repository at this point in the history
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: nodejs/node#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]>
  • Loading branch information
JeroenMandersloot authored and andrew749 committed Jul 19, 2017
1 parent 76cb550 commit 4c222cf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/api/child_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ the process is spawned. The default options are:
}
```

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

Expand Down
2 changes: 1 addition & 1 deletion doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ If the data to be written can be generated or fetched on demand, it is
recommended to encapsulate the logic into a [Readable][] and use
[`stream.pipe()`][]. However, if calling `write()` is preferred, it is
possible to respect backpressure and avoid memory issues using the
the [`'drain'`][] event:
[`'drain'`][] event:

```js
function write (data, cb) {
Expand Down
4 changes: 2 additions & 2 deletions src/cares_wrap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ static void ares_sockstate_cb(void* data,
task = ares_task_create(env, sock);
if (task == nullptr) {
/* This should never happen unless we're out of memory or something */
/* is seriously wrong. The socket won't be polled, but the the query */
/* will eventually time out. */
/* is seriously wrong. The socket won't be polled, but the query will */
/* eventually time out. */
return;
}

Expand Down

0 comments on commit 4c222cf

Please sign in to comment.