Skip to content

Commit d75a403

Browse files
ortatargos
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 3f9b0a9 commit d75a403

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ function toRealPath(requestPath) {
156156
});
157157
}
158158

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

0 commit comments

Comments
 (0)