The root cause of #146 was needle = path.value.left.name attempting to grab a name from an ArrayExpression (so needle was always undefined). To fix this, I've added a new function that handles all destructuring assignments in a reasonably sane manner.
Fixes #146.
The root cause of #146 was
needle = path.value.left.name
attempting to grab a name from anArrayExpression
(soneedle
was alwaysundefined
). To fix this, I've added a new function that handles all destructuring assignments in a reasonably sane manner.