Skip to content

Commit

Permalink
doc: Update a typo in module.js' comments
Browse files Browse the repository at this point in the history
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 targos committed Oct 18, 2017
1 parent 3f9b0a9 commit d75a403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d75a403

Please sign in to comment.