summaryrefslogtreecommitdiff
path: root/lib/module.js
diff options
context:
space:
mode:
authorOrta <orta.therox+github@gmail.com>2017-10-14 12:07:55 -0400
committerJoyee Cheung <joyeec9h3@gmail.com>2017-10-15 10:37:22 +0800
commit520cf1d6de3373a0949203aac7539cbc96761814 (patch)
tree758cd51bd4913b5c6ff6a44ecc301f4c8fd418be /lib/module.js
parente8a2438cb6a796209464f16262f2ee3961cab1b8 (diff)
downloadnode-new-520cf1d6de3373a0949203aac7539cbc96761814.tar.gz
doc: Update a typo in module.js' comments
PR-URL: https://github.com/nodejs/node/pull/16205 Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Diffstat (limited to 'lib/module.js')
-rw-r--r--lib/module.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/module.js b/lib/module.js
index a99da2358d..95da968d75 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);