Skip to content

esm: use correct error arguments

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/esm-ext into master

ERR_UNKNOWN_FILE_EXTENSION expects a single argument. This commit fixes the argument count.

Fixes: https://github.com/nodejs/node/issues/27761

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading