Skip to content

Commit

Permalink
Chore: rename shadowed global (#12862)
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Feb 4, 2020
1 parent 055b80d commit 0cae920
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rules/no-obj-calls.js
Expand Up @@ -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
};
}
Expand Down

0 comments on commit 0cae920

Please sign in to comment.