From 0c10ec91830c1a26bf28d2a55c0846662f5d6390 Mon Sep 17 00:00:00 2001 From: Jeroen Mandersloot Date: Mon, 6 Mar 2017 11:32:45 +0100 Subject: [PATCH] doc: fix occurences of "the the" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: https://github.com/nodejs/node/pull/11711 Reviewed-By: Anna Henningsen Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig Reviewed-By: Michael Dawson Reviewed-By: James M Snell Reviewed-By: Michaƫl Zasso Reviewed-By: Franziska Hinkelmann --- doc/api/child_process.md | 2 +- doc/api/stream.md | 2 +- src/cares_wrap.cc | 4 ++-- test/parallel/test-env-var-no-warnings.js | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/api/child_process.md b/doc/api/child_process.md index 39bde058a3e939..7ea5a6ea98c529 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -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. diff --git a/doc/api/stream.md b/doc/api/stream.md index 50f41a33db1aea..c48dfe050808ee 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -480,7 +480,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) { diff --git a/src/cares_wrap.cc b/src/cares_wrap.cc index 2b61209f6e643a..7936474b7426d6 100644 --- a/src/cares_wrap.cc +++ b/src/cares_wrap.cc @@ -220,8 +220,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; } diff --git a/test/parallel/test-env-var-no-warnings.js b/test/parallel/test-env-var-no-warnings.js index 53b7d302683cf4..5b61e4163af633 100644 --- a/test/parallel/test-env-var-no-warnings.js +++ b/test/parallel/test-env-var-no-warnings.js @@ -36,6 +36,6 @@ if (process.argv[2] === 'child') { test({ NODE_NO_WARNINGS: '01' }); test({ NODE_NO_WARNINGS: '2' }); // Don't test the number 1 because it will come through as a string in the - // the child process environment. + // child process environment. test({ NODE_NO_WARNINGS: '1' }); }