fix: resolve golangci-lint errors
- Add error check for fmt.Fprintf in tips.go (errcheck) - Add nolint for safe SQL formatting in transaction.go (gosec G201) - Fix 'cancelled' -> 'canceled' spelling (misspell) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -73,7 +73,7 @@ func maybeShowTip(store storage.Storage) {
|
||||
}
|
||||
|
||||
// Display tip to stdout (informational, not an error)
|
||||
fmt.Fprintf(os.Stdout, "\n💡 Tip: %s\n", tip.Message)
|
||||
_, _ = fmt.Fprintf(os.Stdout, "\n💡 Tip: %s\n", tip.Message)
|
||||
|
||||
// Record that we showed this tip
|
||||
recordTipShown(store, tip.ID)
|
||||
|
||||
Reference in New Issue
Block a user