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

Commit

Permalink
Don't override sourceType
Browse files Browse the repository at this point in the history
Allow script sourceTypes
  • Loading branch information
josh committed Mar 30, 2016
1 parent 2666afe commit 292bceb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ function monkeypatch() {
var analyze = escope.analyze;
escope.analyze = function (ast, opts) {
opts.ecmaVersion = 6;
opts.sourceType = "module";

var results = analyze.call(this, ast, opts);
return results;
Expand Down

0 comments on commit 292bceb

Please sign in to comment.