Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8fcb450

Browse filesBrowse files
Harendra Singhaddaleax
authored andcommitted
doc: fixed a typo in process.md
If the process was not spawned with an IPC channel, `process.send` will be undefined and calling it as `process.send()` would throw error PR-URL: #30277 Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent ad9f737 commit 8fcb450
Copy full SHA for 8fcb450

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/process.md‎

Copy file name to clipboardExpand all lines: doc/api/process.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1957,7 +1957,7 @@ If Node.js is spawned with an IPC channel, the `process.send()` method can be
19571957
used to send messages to the parent process. Messages will be received as a
19581958
[`'message'`][] event on the parent's [`ChildProcess`][] object.
19591959

1960-
If Node.js was not spawned with an IPC channel, `process.send()` will be
1960+
If Node.js was not spawned with an IPC channel, `process.send` will be
19611961
`undefined`.
19621962

19631963
The message goes through serialization and parsing. The resulting message might

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.