summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/api/child_process.md2
-rw-r--r--doc/api/stream.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/child_process.md b/doc/api/child_process.md
index a548220109..323e298fed 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 e2db0b29cc..fb8e66dccb 100644
--- a/doc/api/stream.md
+++ b/doc/api/stream.md
@@ -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) {