mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-08-02 18:41:35 +08:00
fix: remove unused mut to pass clippy -D warnings
This commit is contained in:
@@ -1099,7 +1099,7 @@ pub(crate) fn write_gemini_live(provider: &Provider) -> Result<(), AppError> {
|
|||||||
// One-time auth type detection to avoid repeated detection
|
// One-time auth type detection to avoid repeated detection
|
||||||
let auth_type = detect_gemini_auth_type(provider);
|
let auth_type = detect_gemini_auth_type(provider);
|
||||||
|
|
||||||
let mut env_map = json_to_env(&provider.settings_config)?;
|
let env_map = json_to_env(&provider.settings_config)?;
|
||||||
|
|
||||||
// Prepare config to write to ~/.gemini/settings.json
|
// Prepare config to write to ~/.gemini/settings.json
|
||||||
// Behavior:
|
// Behavior:
|
||||||
|
|||||||
Reference in New Issue
Block a user