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

Commit

Permalink
Remove already fixed workaround (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
danez authored and hzoo committed Aug 2, 2017
1 parent 25bd208 commit 42d0c5b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions babylon-to-espree/toAST.js
Expand Up @@ -50,11 +50,6 @@ var astTransformVisitor = {
node.type = "Literal";
}

// TODO estree plugin bug
if (node.type === "Property") {
if (!node.shorthand) node.shorthand = false;
}

if (
path.isRestElement() &&
path.parent &&
Expand Down

0 comments on commit 42d0c5b

Please sign in to comment.