From 0cae9203a8077184ad6beb00028fd376cc806f34 Mon Sep 17 00:00:00 2001 From: Tony Brix Date: Mon, 3 Feb 2020 18:46:44 -0600 Subject: [PATCH] Chore: rename shadowed global (#12862) --- lib/rules/no-obj-calls.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rules/no-obj-calls.js b/lib/rules/no-obj-calls.js index 5102d559494..9ff666b0328 100644 --- a/lib/rules/no-obj-calls.js +++ b/lib/rules/no-obj-calls.js @@ -47,8 +47,8 @@ module.exports = { const tracker = new ReferenceTracker(scope); const traceMap = {}; - for (const global of nonCallableGlobals) { - traceMap[global] = { + for (const g of nonCallableGlobals) { + traceMap[g] = { [CALL]: true }; }