Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Commit

Permalink
removed unused file reference (#773)
Browse files Browse the repository at this point in the history
  • Loading branch information
hzoo committed Jun 17, 2019
1 parent 4cf0a21 commit 0241b48
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/analyze-scope.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,11 +327,6 @@ module.exports = function(ast, parserOptions) {
fallback,
};

if (OriginalReferencer._babelEslintPatched) {
require("./patch-eslint-scope")(parserOptions);
return escope.analyze(ast, options);
}

options.childVisitorKeys = childVisitorKeys;

const scopeManager = new escope.ScopeManager(options);
Expand Down

0 comments on commit 0241b48

Please sign in to comment.