Skip to content

Commit 94a6a97

Browse files
kovsuruyadorno
authored andcommitted
doc: adjust wording to eliminate awkward typography
PR-URL: #45398 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Jacob Smith <jacob@frende.me>
1 parent 3263ceb commit 94a6a97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/modules.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ By default, Node.js will treat the following as CommonJS modules:
9090
* Files with an extension that is not `.mjs`, `.cjs`, `.json`, `.node`, or `.js`
9191
(when the nearest parent `package.json` file contains a top-level field
9292
[`"type"`][] with a value of `"module"`, those files will be recognized as
93-
CommonJS modules only if they are being `require`d, not when used as the
94-
command-line entry point of the program).
93+
CommonJS modules only if they are being included via `require()`, not when
94+
used as the command-line entry point of the program).
9595

9696
See [Determining module system][] for more details.
9797

0 commit comments

Comments
 (0)