Permalink
Browse files

doc: Update a typo in module.js' comments

PR-URL: #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>
  • Loading branch information...
orta authored and joyeecheung committed Oct 14, 2017
1 parent e8a2438 commit 520cf1d6de3373a0949203aac7539cbc96761814
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/module.js
View
@@ -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);

0 comments on commit 520cf1d

Please sign in to comment.