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

fix: Remove redundant querySelector type check #1640

Conversation

chocolateboy
Copy link
Contributor

Remove a type check which is covered by (and shadows) subsequent checks.

Copy link
Owner

@capricorn86 capricorn86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution @chocolateboy! ⭐

We should cover the case if selector is a Symbol.

@chocolateboy chocolateboy force-pushed the query-selector-remove-redundant-check branch 2 times, most recently from e90f20b to 26169f1 Compare December 30, 2024 21:04
@chocolateboy chocolateboy force-pushed the query-selector-remove-redundant-check branch from 26169f1 to 8628617 Compare December 30, 2024 21:08
Copy link
Owner

@capricorn86 capricorn86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 🙂

@capricorn86 capricorn86 merged commit b7f0b8f into capricorn86:master Dec 30, 2024
1 of 3 checks passed
@chocolateboy chocolateboy deleted the query-selector-remove-redundant-check branch December 31, 2024 00:36
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 this pull request may close these issues.

3 participants