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

nit(base-adapter): unneeded conditional check #1312

Merged
merged 3 commits into from
Mar 21, 2024

Conversation

james-a-morris
Copy link
Contributor

@james-a-morris james-a-morris commented Mar 19, 2024

Drive-by comment on my way to getting the Linea Manager

The some() function only returns true if a match is found. An empty array calling .some will return a falsy value.

The `some()` function only returns true if a match is found. An empty array calling `.some` is always guaranteed to return a falsy value.

Drive-by comment on my way to getting the Linea Manager
@james-a-morris james-a-morris merged commit ed9c43f into master Mar 21, 2024
4 checks passed
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