Skip to content

Commit 1fdcf75

Browse files
ortaMylesBorins
authored andcommitted
doc: Update a typo in module.js' comments
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]>
1 parent f2108fa commit 1fdcf75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/module.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ function toRealPath(requestPath) {
135135
});
136136
}
137137

138-
// given a path check a the file exists with any of the set extensions
138+
// given a path, check if the file exists with any of the set extensions
139139
function tryExtensions(p, exts, isMain) {
140140
for (var i = 0; i < exts.length; i++) {
141141
const filename = tryFile(p + exts[i], isMain);

0 commit comments

Comments
 (0)