style: 恢复 hook 后 Rust 格式化

This commit is contained in:
Illuminated2020 committed 2026-05-12 16:49:29 +08:00
1 parent 5b62f936d1
commit feff43c459
8 files changed
+52 -40

No files matched your search

+4 -1
View File
@@ -4,7 +4,10 @@ mod runtime_client;
#[tokio::main]
async fn main() {
if let Err(err) = commands::run(std::env::args().skip(1).collect()).await {
println!("{}", serde_json::to_string_pretty(&err).unwrap_or_else(|_| "{\"ok\":false}".to_string()));
println!(
"{}",
serde_json::to_string_pretty(&err).unwrap_or_else(|_| "{\"ok\":false}".to_string())
);
std::process::exit(1);
}
}