style: 恢复 hook 后 Rust 格式化
This commit is contained in:
1 parent
5b62f936d1
commit
feff43c459
8 files changed
+52
-40
No files matched your search
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user