Skip to content

Commit cc0aaf2

Browse files
guybedfordrichardlau
authored andcommitted
doc: error code fix in resolver spec
PR-URL: #34998 Reviewed-By: Jan Krems <[email protected]> Reviewed-By: Myles Borins <[email protected]> Reviewed-By: Ujjwal Sharma <[email protected]>
1 parent 62cc3b8 commit cc0aaf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/esm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1819,7 +1819,7 @@ _conditions_)
18191819
> 1. Otherwise, throw an _Invalid Package Target_ error.
18201820
> 1. If _target_ split on _"/"_ or _"\\"_ contains any _"."_, _".."_ or
18211821
> _"node_modules"_ segments after the first segment, throw an
1822-
> _Invalid Module Specifier_ error.
1822+
> _Invalid Package Target_ error.
18231823
> 1. Let _resolvedTarget_ be the URL resolution of the concatenation of
18241824
> _packageURL_ and _target_.
18251825
> 1. Assert: _resolvedTarget_ is contained in _packageURL_.

0 commit comments

Comments
 (0)