refactor: cleanup struct fields, resolve clippy lints, resolve/ignore svelte lints, checks error on warn

This commit is contained in:
2026-01-14 22:55:40 -06:00
parent e83133cfcc
commit 89e1ab097d
50 changed files with 276 additions and 1114 deletions
+8 -10
View File
@@ -111,17 +111,15 @@ pub async fn session(client: ApiClient, json: bool) -> Result<(), Box<dyn std::e
} else {
output::error("Session expired or invalid");
}
} else if json {
println!(
"{}",
serde_json::json!({
"authenticated": false,
})
);
} else {
if json {
println!(
"{}",
serde_json::json!({
"authenticated": false,
})
);
} else {
output::info("Not logged in");
}
output::info("Not logged in");
}
Ok(())