diff options
| author | Guy Bedford <guybedford@gmail.com> | 2020-08-31 11:40:55 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-31 11:40:55 -0700 |
| commit | 209c9dd424d5e9847592a7c31a407548f630d310 (patch) | |
| tree | dd699f5ac22e28f38463f8d38f0d8d21e72f83a0 | |
| parent | 883fc779b637732b18e2d0e6b1f386cebb37e93c (diff) | |
| download | node-new-docs-fix.tar.gz | |
docs: error code fix in resolver specdocs-fix
| -rw-r--r-- | doc/api/esm.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/esm.md b/doc/api/esm.md index 32713f09d3..160a6633d7 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -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_. |
