From 3fd54510d0e2da2b14415d2a210eb5dbed20df94 Mon Sep 17 00:00:00 2001 From: cjihrig Date: Thu, 20 Jun 2019 13:37:17 -0400 Subject: [PATCH] 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: https://github.com/nodejs/node/pull/28328 Reviewed-By: Richard Lau Reviewed-By: Trivikram Kamat Reviewed-By: Rich Trott Reviewed-By: Luigi Pinca Reviewed-By: Ruben Bridgewater --- doc/api/process.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/process.md b/doc/api/process.md index 4d238a3d7eb900..d75d935834be6c 100644 --- a/doc/api/process.md +++ b/doc/api/process.md @@ -763,8 +763,8 @@ and [Cluster][] documentation), the `process.disconnect()` method will close the IPC channel to the parent process, allowing the child process to exit gracefully once there are no other connections keeping it alive. -The effect of calling `process.disconnect()` is that same as calling the parent -process's [`ChildProcess.disconnect()`][]. +The effect of calling `process.disconnect()` is the same as calling +[`ChildProcess.disconnect()`][] from the parent process. If the Node.js process was not spawned with an IPC channel, `process.disconnect()` will be `undefined`.