mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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:
1 parent
3f9b0a985c
commit
d75a403add
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user