Skip to content

Commit d991200

Browse files
guybedfordMylesBorins
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 6539cf2 commit d991200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/esm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1177,7 +1177,7 @@ _internal_, _conditions_)
11771177
> 1. Otherwise, throw an _Invalid Package Target_ error.
11781178
> 1. If _target_ split on _"/"_ or _"\\"_ contains any _"."_, _".."_ or
11791179
> _"node_modules"_ segments after the first segment, throw an
1180-
> _Invalid Module Specifier_ error.
1180+
> _Invalid Package Target_ error.
11811181
> 1. Let _resolvedTarget_ be the URL resolution of the concatenation of
11821182
> _packageURL_ and _target_.
11831183
> 1. Assert: _resolvedTarget_ is contained in _packageURL_.

0 commit comments

Comments
 (0)