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>
This commit is contained in:
Orta authored and Myles Borins committed 2017-11-28 13:10:29 +09:00
1 parent f2108fa51d
commit 1fdcf75f9c
1 file changed
+1 -1
+1 -1
View File
@@ -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);