Skip to content
New issue

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

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

Already on GitHub? # to your account

Refactor: drop else statements where if block ends with a return #865

Merged
merged 1 commit into from
Oct 19, 2023
Merged

Refactor: drop else statements where if block ends with a return #865

merged 1 commit into from
Oct 19, 2023

Conversation

alexandear
Copy link
Contributor

This PR removes 6 lines of unnecessary code.

Copy link
Contributor

@VojtechVitek VojtechVitek left a comment

Choose a reason for hiding this comment

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

LGTM

@pkieltyka pkieltyka merged commit ecd1897 into go-chi:master Oct 19, 2023
14 checks passed
@alexandear alexandear deleted the middleware-refactor-simplify-indent-error-flow branch October 19, 2023 13:41
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants