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 <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Daijiro Wachi <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Yuta Hiroto <[email protected]>
  • Loading branch information
orta authored and MylesBorins committed Nov 16, 2017
1 parent 5793586 commit 63b6cc3
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 63b6cc3

Please sign in to comment.