provider: gofmt subscription_usage.go (a long withUser line from fdf8b01e)

This commit is contained in:
yetone committed 2026-10-06 16:15:30 +08:00
1 parent aac0cd2448
commit 8fbd39f8b6
1 file changed
+3 -1
+3 -1
View File
@@ -339,7 +339,9 @@ func fetchSubscriptionUsage(ctx context.Context) []SubscriptionQuota {
if ls := accountsOf("claude"); len(ls) > 1 || p.Account.standIn {
fetches = append(fetches, perLogin(via("claude"), ls, "Claude Code", "claude-color")...)
} else {
fetches = append(fetches, withUser(ctx, p.Account.User, func() SubscriptionQuota { return claudeSubscriptionUsage(viaLogin("claude", p.Account.User), p.Account.User) }))
fetches = append(fetches, withUser(ctx, p.Account.User, func() SubscriptionQuota {
return claudeSubscriptionUsage(viaLogin("claude", p.Account.User), p.Account.User)
}))
}
}
if user, plan, ok := cursorIdentity(); !moved("cursor") && ok && !hidden["cursor"] {