Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu <yu521088@gmail.com>2022-01-17 19:54:10 +0300
committerGitHub <noreply@github.com>2022-01-17 19:54:10 +0300
commitf458f1b93b9302d76382b390c82e0e0d3ec6678a (patch)
treea70f205edf8480abf03c9060309bb0ae9ccce728 /doc/api/esm.md
parent8cba65f61afe35228938c04b2c8527897366f689 (diff)
doc: fix typos in esm.md
PR-URL: https://github.com/nodejs/node/pull/41499 Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Adrian Estrada <edsadr@gmail.com>
Diffstat (limited to 'doc/api/esm.md')
-rw-r--r--doc/api/esm.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/esm.md b/doc/api/esm.md
index 3b74ff03bc6..a27e407b859 100644
--- a/doc/api/esm.md
+++ b/doc/api/esm.md
@@ -1399,7 +1399,7 @@ _internal_, _conditions_)
> 1. Set _scopeURL_ to the parent URL of _scopeURL_.
> 2. If _scopeURL_ ends in a _"node\_modules"_ path segment, return **null**.
> 3. Let _pjsonURL_ be the resolution of _"package.json"_ within
-> _packageURL_.
+> _scopeURL_.
> 4. if the file at _pjsonURL_ exists, then
> 1. Return _scopeURL_.
> 3. Return **null**.