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

Remove redundant nil check #272

Merged
merged 2 commits into from
Mar 26, 2022
Merged

Remove redundant nil check #272

merged 2 commits into from
Mar 26, 2022

Conversation

ron-wolf
Copy link
Contributor

The lack of a JSON encode error will produce & return nil regardless. Hopefully this helps!

Lack of JSON encode error will produce & return nil regardless
pkg/cli/stats.go Outdated Show resolved Hide resolved
pkg/cli/stats.go Outdated Show resolved Hide resolved
Apply suggestions from code review

Co-authored-by: Miguel Piedrafita <[email protected]>
@LKaemmerling
Copy link
Contributor

Hey @ron-wolf,

thank you for the MR! Good catch.

@LKaemmerling LKaemmerling merged commit cf6b208 into usefathom:master Mar 26, 2022
@ron-wolf ron-wolf deleted the patch-1 branch April 25, 2022 18:09
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