fix: apply golangci-lint v2.10.1 auto-fixes#252
Conversation
Apply golines line-length fixes and gosimple suggestions (WriteString+Sprintf replaced with Fprintf) that were caught by upgrading golangci-lint from v2.4.0 to v2.10.1.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro 📒 Files selected for processing (7)
WalkthroughThe pull request comprises formatting refactors and string-handling optimizations across configuration and daemon management code. Changes include reformatting print statements across multiple lines for readability and replacing string builder patterns from Changes
Suggested reviewers
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
WriteString(fmt.Sprintf(...))withfmt.Fprintf(...)per gosimple suggestionsThese issues were caught by upgrading golangci-lint from v2.4.0 to v2.10.1. The previous version was not flagging these.
Test plan
go test ./...passesgolangci-lint runpasses with v2.10.1Summary by CodeRabbit