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: enable nilerr linter and fix iferr checks #2009

Merged
merged 1 commit into from
Sep 8, 2021
Merged

Conversation

dnwe
Copy link
Collaborator

@dnwe dnwe commented Sep 8, 2021

nilerr finds code which returns nil even though it checks that error is
not nil. This flagged up a few incorrect checks in some of our packet
encoder/decoders, so fix those.

nilerr finds code which returns nil even though it checks that error is
not nil. This flagged up a few incorrect checks in some of our packet
encoder/decoders, so fix those.
@dnwe dnwe requested a review from bai as a code owner September 8, 2021 09:39
@dnwe dnwe merged commit 16fb95c into master Sep 8, 2021
@dnwe dnwe deleted the dnwe/fix-nilerr-checks branch September 8, 2021 10:46
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.

None yet

2 participants