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

refactor(index): remove useless else blocks after returns #254

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

Fdawgs
Copy link
Member

@Fdawgs Fdawgs commented Jul 19, 2024

No need to wrap contents in an else block if the if block returns.

Checklist

@Fdawgs Fdawgs force-pushed the ref/useless-else branch from ca118a4 to a2e69fa Compare July 19, 2024 09:48
@Fdawgs Fdawgs merged commit 7126445 into master Jul 19, 2024
16 checks passed
@Fdawgs Fdawgs deleted the ref/useless-else branch July 19, 2024 10:08
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