mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 10:15:07 +08:00
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>
This commit is contained in:
1 parent
d0ee7d66bc
commit
ef4e3b5f69
1 file changed
+1
-1
+1
-1
@@ -1038,7 +1038,7 @@ _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_.
|
||||
|
||||
Reference in new issue
Block a user