Skip to content

Commit a791013

Browse files
fixup: code review
Co-authored-by: Voltrex <[email protected]>
1 parent a6646d9 commit a791013

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/esm.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,7 @@ The resolver can throw the following errors:
11591159
> 1. Let _resolved_ be the result of **PACKAGE_TARGET_RESOLVE**(
11601160
> _packageURL_, _mainExport_, _""_, **false**, **false**,
11611161
> _conditions_).
1162-
> 1. If _resolved_ is not **null** or **undefined**, return _resolved.
1162+
> 1. If _resolved_ is not **null** or **undefined**, return _resolved_.
11631163
> 1. Otherwise, if _exports_ is an Object and all keys of _exports_ start with
11641164
> _"."_, then
11651165
> 1. Let _matchKey_ be the string _"./"_ concatenated with _subpath_.
@@ -1180,7 +1180,7 @@ The resolver can throw the following errors:
11801180
> 1. If _pjson.imports_ is a non-null Object, then
11811181
> 1. Let _resolved_ be the result of **PACKAGE_IMPORTS_EXPORTS_RESOLVE**(
11821182
> _specifier_, _pjson.imports_, _packageURL_, **true**, _conditions_).
1183-
> 1. If _resolved_ is not **null** or **undefined**, return _resolved.
1183+
> 1. If _resolved_ is not **null** or **undefined**, return _resolved_.
11841184
> 1. Throw a _Package Import Not Defined_ error.
11851185

11861186
**PACKAGE_IMPORTS_EXPORTS_RESOLVE**(_matchKey_, _matchObj_, _packageURL_,

0 commit comments

Comments
 (0)