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 f63bf3f

Browse filesBrowse files
TrottMylesBorins
authored andcommitted
doc: edit for minor fixes to prcoess.md
Remove use of personal pronoun _you_ from formal documentation for `process`. Fix up grammar in nearby text. PR-URL: #23347 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
1 parent 6603592 commit f63bf3f
Copy full SHA for f63bf3f

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎doc/api/process.md‎

Copy file name to clipboardExpand all lines: doc/api/process.md
+4-4Lines changed: 4 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ The `'multipleResolves'` event is emitted whenever a `Promise` has been either:
114114
* Rejected after resolve.
115115
* Resolved after reject.
116116

117-
This is useful for tracking errors in your application while using the promise
117+
This is useful for tracking errors in an application while using the promise
118118
constructor. Otherwise such mistakes are silently swallowed due to being in a
119119
dead zone.
120120

@@ -207,9 +207,9 @@ exception bubbles all the way back to the event loop. By default, Node.js
207207
handles such exceptions by printing the stack trace to `stderr` and exiting
208208
with code 1, overriding any previously set [`process.exitCode`][].
209209
Adding a handler for the `'uncaughtException'` event overrides this default
210-
behavior. You may also change the [`process.exitCode`][] in
211-
`'uncaughtException'` handler which will result in process exiting with
212-
provided exit code, otherwise in the presence of such handler the process will
210+
behavior. Alternatively, change the [`process.exitCode`][] in the
211+
`'uncaughtException'` handler which will result in the process exiting with the
212+
provided exit code. Otherwise, in the presence of such handler the process will
213213
exit with 0.
214214

215215
The listener function is called with the `Error` object passed as the only

0 commit comments

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