summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGuy Bedford <guybedford@gmail.com>2020-08-31 11:40:55 -0700
committerMyles Borins <mylesborins@github.com>2020-11-16 11:58:04 -0500
commitd99120040cd20e12957f52ae329a08cc46346b04 (patch)
treee7e3c60ff65a711a03552b1705999799768678bf /doc
parent6539cf2725f799fb66858a21b908ca1a9fdb765f (diff)
downloadnode-new-d99120040cd20e12957f52ae329a08cc46346b04.tar.gz
doc: error code fix in resolver spec
PR-URL: https://github.com/nodejs/node/pull/34998 Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
Diffstat (limited to 'doc')
-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 7721b44fe0..4b3e80504d 100644
--- a/doc/api/esm.md
+++ b/doc/api/esm.md
@@ -1177,7 +1177,7 @@ _internal_, _conditions_)
> 1. Otherwise, throw an _Invalid Package Target_ error.
> 1. If _target_ split on _"/"_ or _"\\"_ contains any _"."_, _".."_ or
> _"node_modules"_ segments after the first segment, throw an
-> _Invalid Module Specifier_ error.
+> _Invalid Package Target_ error.
> 1. Let _resolvedTarget_ be the URL resolution of the concatenation of
> _packageURL_ and _target_.
> 1. Assert: _resolvedTarget_ is contained in _packageURL_.