Skip to content
This repository was archived by the owner on Apr 16, 2020. It is now read-only.

Commit 1cd82c2

Browse files
targosguybedford
andauthored
@targos code review corrections
Co-Authored-By: guybedford <[email protected]>
1 parent c31bb8e commit 1cd82c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/esm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ PACKAGE_RESOLVE(_packageSpecifier_, _parentURL_)
214214
> 1. If the folder at _packageURL_ does not exist, then
215215
> 1. Set _parentURL_ to the parent URL path of _parentURL_.
216216
> 1. Continue the next loop iteration.
217-
> 1. Let _pjson_be the result of **READ_PACKAGE_JSON**(_packageURL_).
217+
> 1. Let _pjson_ be the result of **READ_PACKAGE_JSON**(_packageURL_).
218218
> 1. If _packageSubpath_ is empty, then
219219
> 1. Return the result of **PACKAGE_MAIN_RESOLVE**(_packageURL_,
220220
> _pjson_).
@@ -227,7 +227,7 @@ PACKAGE_MAIN_RESOLVE(_packageURL_, _pjson_)
227227
> 1. Throw a _Module Not Found_ error.
228228
> 1. If _pjson.main_ is a String, then
229229
> 1. Let _resolvedMain_ be the concatenation of _packageURL_, "/", and
230-
> _"pjson.main"_.
230+
> _pjson.main_.
231231
> 1. If the file at _resolvedMain_ exists, then
232232
> 1. Return _resolvedMain_.
233233
> 1. If _pjson.type_ is equal to _"esm"_, then

0 commit comments

Comments
 (0)