feat(linter): Fix govet linter

This commit is contained in:
Artem Yadelskyi
2026-02-20 22:35:16 +02:00
parent e883e14b81
commit 02b4d9fbe2
17 changed files with 29 additions and 61 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ func ReadCodexCliCredentials() (accessToken, accountID string, expiresAt time.Ti
}
var auth CodexCliAuth
if err := json.Unmarshal(data, &auth); err != nil {
if err = json.Unmarshal(data, &auth); err != nil {
return "", "", time.Time{}, fmt.Errorf("parsing %s: %w", authPath, err)
}