Open
Description
Came across this problem while trying to optimize a script that requires [email protected]. It looks like this line is the culprit:
Line 939 in 1752638
I've fixed it locally by adding && bodyNode.consequent.body.length
to the end of the if statement linked because consequent.body
is an object not an array in this case ({type: 'BlockStatement', body: {...}}
).
Metadata
Metadata
Assignees
Labels
No labels