Skip to content

Commit d382401

Browse files
authored
Using ecmaVersion 8 for acorn
1 parent 870d1cd commit d382401

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = function (src) {
1111

1212
var ast = parse(src, {
1313
range: true,
14-
ecmaVersion: 6
14+
ecmaVersion: 8
1515
});
1616

1717
ast.body = ast.body.filter(function(node) {

0 commit comments

Comments
 (0)