fix: remove duplicate comment in orderProfilesByMode

Two consecutive identical comments "Sort available profiles by
lastUsed (oldest first)" were present on lines 147-148. Removed the
redundant second line.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Adi 2026-02-19 22:32:53 +00:00 committed by Gustavo Madeira Santana
parent f5cd22e8e6
commit 9112170d04
1 changed files with 0 additions and 1 deletions

View File

@ -145,7 +145,6 @@ function orderProfilesByMode(order: string[], store: AuthProfileStore): string[]
}
// Sort available profiles by lastUsed (oldest first = round-robin)
// Then by lastUsed (oldest first = round-robin within type)
const scored = available.map((profileId) => {
const type = store.profiles[profileId]?.type;
const typeScore = type === "oauth" ? 0 : type === "token" ? 1 : type === "api_key" ? 2 : 3;