mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-15 08:31:14 -07:00
refactor(auth): Refactor non-interactive mode auth validation & refresh (#15679)
This commit is contained in:
@@ -61,8 +61,7 @@ export async function validateNonInteractiveAuth(
|
||||
}
|
||||
}
|
||||
|
||||
await nonInteractiveConfig.refreshAuth(authType);
|
||||
return nonInteractiveConfig;
|
||||
return authType;
|
||||
} catch (error) {
|
||||
if (nonInteractiveConfig.getOutputFormat() === OutputFormat.JSON) {
|
||||
handleError(
|
||||
|
||||
Reference in New Issue
Block a user