Skip to content
Prev Previous commit
doc: esm spec bug
  • Loading branch information
MylesBorins committed Apr 3, 2020
commit fce87a585074172c4675832c682a608391689cb1
2 changes: 1 addition & 1 deletion doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -1663,7 +1663,7 @@ The resolver can throw the following errors:

**ESM_FORMAT**(_url_)

> 1. Assert: _url_ corresponds to an existing file pathname.
> 1. Assert: _url_ corresponds to an existing file.
> 1. Let _pjson_ be the result of **READ_PACKAGE_SCOPE**(_url_).
> 1. If _url_ ends in _".mjs"_, then
> 1. Return _"module"_.
Expand Down