Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chokes on [, foo] = arr destructuring pattern #2

Open
AprilArcus opened this issue Dec 14, 2022 · 1 comment · May be fixed by #3
Open

Chokes on [, foo] = arr destructuring pattern #2

AprilArcus opened this issue Dec 14, 2022 · 1 comment · May be fixed by #3

Comments

@AprilArcus
Copy link

eslint-traverse throws an exception on https://github.com/discord/eslint-traverse/blob/master/index.js#L24 when traversing an array destructuring pattern with an omitted identifier, since the missing identifier's node property is set to null.

jamiebuilds added a commit to jamiebuilds/eslint-traverse that referenced this issue Dec 15, 2022
@jamiebuilds jamiebuilds linked a pull request Dec 15, 2022 that will close this issue
@jamiebuilds
Copy link
Contributor

Fix is here: #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants