mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-12 12:26:57 -07:00
fix(cli): allow keychain auth for --list-sessions and non-interactive mode (#26921)
This commit is contained in:
@@ -42,7 +42,7 @@ export async function validateNonInteractiveAuth(
|
||||
const authType: AuthType = effectiveAuthType;
|
||||
|
||||
if (!useExternalAuth) {
|
||||
const err = validateAuthMethod(String(authType));
|
||||
const err = await validateAuthMethod(String(authType));
|
||||
if (err != null) {
|
||||
throw new Error(err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user