From 40eaf17b8e43b4203cd038bf3d7f16fd256239b8 Mon Sep 17 00:00:00 2001 From: Anatoli Papirovski Date: Sat, 14 Oct 2017 00:01:36 -0400 Subject: [PATCH] lib: fix extraneous space in module.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit An extra space was not caught by the linter due to what appears to be a bug in eslint 4.3.0 — remove it. PR-URL: https://github.com/nodejs/node/pull/16199 Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Yuta Hiroto Reviewed-By: Ruben Bridgewater --- lib/module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/module.js b/lib/module.js index a0bbc429df..92b8fbbc39 100644 --- a/lib/module.js +++ b/lib/module.js @@ -535,7 +535,7 @@ Module.prototype.load = function(filename) { ESMLoader.moduleMap.set(urlString, new ModuleJob(ESMLoader, url, async () => ctx)); } else { - const job = ESMLoader.moduleMap.get(urlString); + const job = ESMLoader.moduleMap.get(urlString); if (job.reflect) job.reflect.exports.default.set(this.exports); }