fix: Resolve CI lint and build errors

- Add error suppression for enc.Encode() calls in info.go (errcheck lint)
- Add missing encoding/json import in install_integration_test.go

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
mayor
2026-01-04 23:09:38 -08:00
committed by beads/crew/dave
parent fd3cb6133e
commit 32cc3e42bc
2 changed files with 3 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ Examples:
if jsonFlag { if jsonFlag {
enc := json.NewEncoder(os.Stdout) enc := json.NewEncoder(os.Stdout)
enc.SetIndent("", " ") enc.SetIndent("", " ")
enc.Encode(info) _ = enc.Encode(info)
return return
} }
@@ -148,7 +148,7 @@ func showWhatsNew(jsonOutput bool) {
if jsonOutput { if jsonOutput {
enc := json.NewEncoder(os.Stdout) enc := json.NewEncoder(os.Stdout)
enc.SetIndent("", " ") enc.SetIndent("", " ")
enc.Encode(map[string]interface{}{ _ = enc.Encode(map[string]interface{}{
"current_version": Version, "current_version": Version,
"recent_changes": versionChanges, "recent_changes": versionChanges,
}) })

View File

@@ -3,6 +3,7 @@
package cmd package cmd
import ( import (
"encoding/json"
"os" "os"
"os/exec" "os/exec"
"path/filepath" "path/filepath"