Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinmetcalf committed Apr 7, 2020
1 parent 1f42ab6 commit 8f0ad34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function rename(code, tokenTo, tokenFrom) {
var ast;
try {
ast = acorn.parse(code, {
ecmaVersion: 8,
ecmaVersion: 11,
ranges: true,
allowReturnOutsideFunction: true
});
Expand Down

0 comments on commit 8f0ad34

Please sign in to comment.