Skip to content

Commit ef4e3b5

Browse files
committed
doc: error code fix in resolver spec
PR-URL: #34998 Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
1 parent d0ee7d6 commit ef4e3b5

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
@@ -1038,7 +1038,7 @@ _conditions_)
10381038
> 1. Otherwise, throw an _Invalid Package Target_ error.
10391039
> 1. If _target_ split on _"/"_ or _"\\"_ contains any _"."_, _".."_ or
10401040
> _"node_modules"_ segments after the first segment, throw an
1041-
> _Invalid Module Specifier_ error.
1041+
> _Invalid Package Target_ error.
10421042
> 1. Let _resolvedTarget_ be the URL resolution of the concatenation of
10431043
> _packageURL_ and _target_.
10441044
> 1. Assert: _resolvedTarget_ is contained in _packageURL_.

0 commit comments

Comments
 (0)