From d75a403add891abb920aaac9af28ae8aae12905f Mon Sep 17 00:00:00 2001 From: Orta Date: Sat, 14 Oct 2017 12:07:55 -0400 Subject: [PATCH] doc: Update a typo in module.js' comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/16205 Reviewed-By: Joyee Cheung Reviewed-By: Tobias Nießen Reviewed-By: Luigi Pinca Reviewed-By: Daijiro Wachi Reviewed-By: Colin Ihrig Reviewed-By: Yuta Hiroto --- lib/module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/module.js b/lib/module.js index 9705310e044d8f..48c5a8c24fb631 100644 --- a/lib/module.js +++ b/lib/module.js @@ -156,7 +156,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);