File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ console.log('This will not run.');
242
242
243
243
#### Warning: Using ` 'uncaughtException' ` correctly
244
244
245
- Note that ` 'uncaughtException' ` is a crude mechanism for exception handling
245
+ ` 'uncaughtException' ` is a crude mechanism for exception handling
246
246
intended to be used only as a last resort. The event * should not* be used as
247
247
an equivalent to ` On Error Resume Next ` . Unhandled exceptions inherently mean
248
248
that an application is in an undefined state. Attempting to resume application
@@ -922,7 +922,7 @@ process.emitWarning(myWarning);
922
922
A ` TypeError ` is thrown if ` warning ` is anything other than a string or ` Error `
923
923
object.
924
924
925
- Note that while process warnings use ` Error ` objects, the process warning
925
+ While process warnings use ` Error ` objects, the process warning
926
926
mechanism is ** not** a replacement for normal error handling mechanisms.
927
927
928
928
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
1350
1350
a privileged operation that requires that the Node.js process either have ` root `
1351
1351
access or the ` CAP_SETGID ` capability.
1352
1352
1353
- Note that care must be taken when dropping privileges:
1353
+ Use care when dropping privileges:
1354
1354
1355
1355
``` js
1356
1356
console .log (process .getgroups ()); // [ 0 ]
You can’t perform that action at this time.
0 commit comments