Skip to content

Commit 36f25aa

Browse files
bmeckljharb
andauthored
Update lib/internal/modules/esm/get_format.js
Co-authored-by: Jordan Harband <ljharb@gmail.com>
1 parent aabc47d commit 36f25aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/modules/esm/get_format.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function getFileProtocolModuleFormat(url, context, ignoreErrors) {
6060
const config = getPackageScopeConfig(url);
6161
const fileBasename = basename(filepath);
6262
const relativePath = StringPrototypeSlice(relative(config.pjsonPath, filepath), 1);
63-
suggestion = 'Loading extension-less files is not supported inside of ' +
63+
suggestion = 'Loading extensionless files is not supported inside of ' +
6464
'"type":"module" package.json contexts. The package.json file ' +
6565
`${config.pjsonPath} caused this "type":"module" context. Try ` +
6666
`changing ${filepath} to have a file extension. Note the "bin" ` +

0 commit comments

Comments
 (0)