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 MylesBorins committed Nov 28, 2017
1 parent f2108fa commit 1fdcf75
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 @@ -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);
Expand Down

0 comments on commit 1fdcf75

Please sign in to comment.