diff --git a/lib/module.js b/lib/module.js index 9705310e044d8f..48c5a8c24fb631 100644 --- a/lib/module.js +++ b/lib/module.js @@ -156,7 +156,7 @@ function toRealPath(requestPath) { }); } -// given a path check a the file exists with any of the set extensions +// given a path, check if the file exists with any of the set extensions function tryExtensions(p, exts, isMain) { for (var i = 0; i < exts.length; i++) { const filename = tryFile(p + exts[i], isMain);