chore(lint): clean up frontend and Rust lint issues

This commit is contained in:
xintaofei
2026-04-23 15:56:41 +08:00
parent 1dd40d0baf
commit 022172a9ea
69 changed files with 1138 additions and 1248 deletions

View File

@@ -69,8 +69,7 @@ fn write_tokens(tokens: &std::collections::HashMap<String, String>) -> Result<()
}
let json = serde_json::to_string_pretty(tokens)
.map_err(|e| format!("failed to serialize tokens: {e}"))?;
std::fs::write(&path, json)
.map_err(|e| format!("failed to write token store: {e}"))
std::fs::write(&path, json).map_err(|e| format!("failed to write token store: {e}"))
}
#[cfg(not(feature = "tauri-runtime"))]