Skip to content

Commit

Permalink
Trust the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
tniessen committed May 15, 2022
1 parent f9b362f commit e21761c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ export function globalPreload({ port }) {
### Examples
The various loader hooks can be used together to accomplish wide-ranging
customizations of Node.js' code loading and evaluation behaviors.
customizations of the Node.js code loading and evaluation behaviors.
#### HTTPS loader
Expand Down
6 changes: 3 additions & 3 deletions src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ the process otherwise. `maybe.FromJust()` (aka `maybe.ToChecked()`) can be used
to access the value and crash the process if it is not set.
This should only be performed if it is actually sure that the operation has
not failed. A lot of Node.js's source code does **not** follow this rule, and
not failed. A lot of the Node.js source code does **not** follow this rule, and
can be brought to crash through this.
In particular, it is often not safe to assume that an operation does not throw
Expand Down Expand Up @@ -859,7 +859,7 @@ this information is provided to async tracking tools.
The `AsyncWrap` class has a set of methods called `MakeCallback()`, with the
intention of the naming being that it is used to “make calls back into
JavaScript” from the event loop, rather than making callbacks in some way.
(As the naming has made its way into Node.js's public API, it's not worth
(As the naming has made its way into the Node.js public API, it's not worth
the breakage of fixing it).
`MakeCallback()` generally calls a method on the JavaScript object associated
Expand Down Expand Up @@ -936,7 +936,7 @@ classes provide the same facilities as [`MakeCallback()`][], namely:

Usually, using `AsyncWrap::MakeCallback()` or using the constructor taking
an `AsyncWrap*` argument (i.e. used as
`InternalCallbackScope callback_scope(this);`) suffices inside of Node.js's
`InternalCallbackScope callback_scope(this);`) suffices inside of the Node.js
C++ codebase.

## C++ utilities
Expand Down

0 comments on commit e21761c

Please sign in to comment.