style: 应用 Rust 格式化
This commit is contained in:
1 parent
67a7ef4746
commit
5b62f936d1
6 files changed
+38
-47
No files matched your search
@@ -4,10 +4,7 @@ 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