summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/module.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/module.js b/lib/module.js
index da5ddd872d..537a2dcafb 100644
--- a/lib/module.js
+++ b/lib/module.js
@@ -135,7 +135,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);