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 <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>
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)