Skip to content

Commit

Permalink
Update lib/internal/modules/esm/loader.js
Browse files Browse the repository at this point in the history
Co-authored-by: Geoffrey Booth <webadmin@geoffreybooth.com>
  • Loading branch information
JakobJingleheimer and GeoffreyBooth authored Oct 21, 2023
1 parent 313fdda commit 3c374d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/modules/esm/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ class ModuleLoader {

if (!translator) {
const { externalFormats } = require('internal/modules/esm/formats');
// `defaultGetFormat()` will have resolved a recognised external file extension to a format.
// `defaultGetFormat()` will have resolved a recognized external file extension to a format.
if (externalFormats.has(finalFormat)) {
throw new ERR_UNSUPPORTED_MODULE_FORMAT(
finalFormat,
Expand Down

0 comments on commit 3c374d8

Please sign in to comment.