Skip to content

Commit 64f8530

Browse files
cjihrigtargos
authored andcommitted
doc: fix typo in process.disconnect() docs
"that" should be "the" in this sentence. This commit also restructures the sentence to avoid the word "process's" PR-URL: #28328 Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent c9226f5 commit 64f8530

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/process.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -763,8 +763,8 @@ and [Cluster][] documentation), the `process.disconnect()` method will close the
763763
IPC channel to the parent process, allowing the child process to exit gracefully
764764
once there are no other connections keeping it alive.
765765

766-
The effect of calling `process.disconnect()` is that same as calling the parent
767-
process's [`ChildProcess.disconnect()`][].
766+
The effect of calling `process.disconnect()` is the same as calling
767+
[`ChildProcess.disconnect()`][] from the parent process.
768768

769769
If the Node.js process was not spawned with an IPC channel,
770770
`process.disconnect()` will be `undefined`.

0 commit comments

Comments
 (0)