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 for nilaway warnings #1571
Fix for nilaway warnings #1571
Conversation
Why: nilaway identified issues related to nil panics, and for better user experience those needs to be fixed How: By adding checks for nil value Tags: nilaway, panics
✅ Deploy Preview for go-feature-flag-doc-preview canceled.
|
nilaway updated report:
The above reporting is false positive from the tool. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1571 +/- ##
==========================================
+ Coverage 87.75% 87.88% +0.12%
==========================================
Files 77 77
Lines 3627 3640 +13
==========================================
+ Hits 3183 3199 +16
+ Misses 361 358 -3
Partials 83 83 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great, I've proposed some NIT changes.
Thank you for the quick review, I am addressing the coverage also by writing the test cases. I will share the updated PR soon and remove |
…go-feature-flag into issue-1420-fix-nilaway-warnings
Quality Gate passedIssues Measures |
Why: nilaway identified issues related to nil panics, and for better user experience those needs to be fixed
How: By adding checks for nil value
Tags: nilaway, panics
Changes include
Closes issue(s)
Resolve #1420
Checklist