Skip to content

Conversation

@weidongkl
Copy link
Contributor

  • Remove redundant error handling patterns in printReport and saveReport
  • Directly return report.CreateReport results instead of if-else blocks
  • Maintain functionality while improving code readability

- Remove redundant error handling patterns in printReport and saveReport
- Directly return report.CreateReport results instead of if-else blocks
- Maintain functionality while improving code readability

Signed-off-by: weidongkl <weidong@uniontech.com>
@ccojocar ccojocar merged commit daccba6 into securego:master Dec 4, 2025
6 checks passed
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 64.48%. Comparing base (1216c9b) to head (e56a5df).
⚠️ Report is 138 commits behind head on master.

Files with missing lines Patch % Lines
cmd/gosec/main.go 0.00% 2 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1434      +/-   ##
==========================================
- Coverage   68.49%   64.48%   -4.02%     
==========================================
  Files          75       76       +1     
  Lines        4384     4618     +234     
==========================================
- Hits         3003     2978      -25     
- Misses       1233     1498     +265     
+ Partials      148      142       -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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