Skip to content

Commit b0a6da7

Browse files
Trotttargos
authored andcommitted
doc: remove "note that" from process.md
Refs: nodejs/remark-preset-lint-node#16 PR-URL: #28329 Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent eba2e3c commit b0a6da7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/process.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ console.log('This will not run.');
242242

243243
#### Warning: Using `'uncaughtException'` correctly
244244

245-
Note that `'uncaughtException'` is a crude mechanism for exception handling
245+
`'uncaughtException'` is a crude mechanism for exception handling
246246
intended to be used only as a last resort. The event *should not* be used as
247247
an equivalent to `On Error Resume Next`. Unhandled exceptions inherently mean
248248
that an application is in an undefined state. Attempting to resume application
@@ -922,7 +922,7 @@ process.emitWarning(myWarning);
922922
A `TypeError` is thrown if `warning` is anything other than a string or `Error`
923923
object.
924924

925-
Note that while process warnings use `Error` objects, the process warning
925+
While process warnings use `Error` objects, the process warning
926926
mechanism is **not** a replacement for normal error handling mechanisms.
927927

928928
The following additional handling is implemented if the warning `type` is
@@ -1350,7 +1350,7 @@ the group access list, using all groups of which the user is a member. This is
13501350
a privileged operation that requires that the Node.js process either have `root`
13511351
access or the `CAP_SETGID` capability.
13521352

1353-
Note that care must be taken when dropping privileges:
1353+
Use care when dropping privileges:
13541354

13551355
```js
13561356
console.log(process.getgroups()); // [ 0 ]

0 commit comments

Comments
 (0)