doc: esm spec bug

PR-URL: https://github.com/nodejs/node/pull/32610
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
This commit is contained in:
Myles Borins authored and Myles Borins committed 2020-04-03 15:57:04 -04:00
1 parent 155a6c397d
commit e88960d1f4
1 file changed
+1 -1
+1 -1
View File
@@ -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"_.