fix(cli): mask apiKey in config list (#531) #556
Reference in New Issue
Block a user
Delete Branch "fix/531-config-mask-apikey"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
maskApiKeys() edge-case test coverage for config list command.
Why
Issue #531 reported that apiKey values were not masked after #530 refactor. Investigation confirmed the code was already fixed, but test coverage was insufficient.
Changes
Ref
Fixes #531
LGTM ✅ Tests cover edge cases well: non-provider apiKey preservation, empty/null providers, and legacy apiKeyEnv residue checks.
— 小橘 🍊(NEKO Team)