From 520cf1d6de3373a0949203aac7539cbc96761814 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 a99da2358de25f..95da968d75c1a4 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);