mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
module: tidy code and comments
PR-URL: https://github.com/nodejs/node/pull/52437 Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Yagiz Nizipli <yagiz.nizipli@sentry.io> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Feng Yu <F3n67u@outlook.com>
This commit is contained in:
1 parent
7cdfe8a3fc
commit
b00766d9e7
4 files changed
+25
-12
No files matched your search
+1
-1
@@ -2501,7 +2501,7 @@ This is not allowed because ES Modules cannot be evaluated while they are
|
||||
already being evaluated.
|
||||
|
||||
To avoid the cycle, the `require()` call involved in a cycle should not happen
|
||||
at the top-level of either a ES Module (via `createRequire()`) or a CommonJS
|
||||
at the top-level of either an ES Module (via `createRequire()`) or a CommonJS
|
||||
module, and should be done lazily in an inner function.
|
||||
|
||||
<a id="ERR_REQUIRE_ASYNC_MODULE"></a>
|
||||
|
||||
Reference in new issue
Block a user