Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

fix: prevent queryselector of undefined #1403

Merged
merged 2 commits into from
Dec 5, 2019
Merged

Conversation

mattmazzola
Copy link
Member

@mattmazzola mattmazzola commented Dec 5, 2019

Defaults tokens to empty array when there is no element to use query selector on.

Unsure how this is possible given the index check just above it. Suppose one of the rows is undefined.

@mattmazzola mattmazzola added the FYI Low Priority PR - Can be merged without review. label Dec 5, 2019
@mattmazzola mattmazzola merged commit f0af492 into master Dec 5, 2019
@mattmazzola mattmazzola deleted the mattm/queryselector-bug branch December 5, 2019 17:42
@mattmazzola
Copy link
Member Author

🎉 This PR is included in version 0.413.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FYI Low Priority PR - Can be merged without review. released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant