Skip to content

Commit

Permalink
v1.1.2 re-format error information
Browse files Browse the repository at this point in the history
  • Loading branch information
Mon-ius committed Mar 5, 2024
1 parent dda6ac1 commit 394efad
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ato-async/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub async fn async_hash(r: &str, p: &path::Path, e: &str) -> Result<(), Box<dyn
let _ = fs::copy(p, format!("{}/gt.stl", &md5_dir)).await?;
}
else {
println!("{:#?}", p.with_file_name(""));
println!("{}", p.with_file_name("").display().to_string());
}
Ok(())
}
Expand Down
2 changes: 1 addition & 1 deletion ato-cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ato-cli"
version = "1.1.1"
version = "1.1.2"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion ato/src/ry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub fn _hash(r: &str, p: &std::path::Path, e: &str) -> Result<(), Box<dyn std::
let _ = std::fs::copy(p, format!("{}/gt.stl", &md5_dir))?;
}
else {
println!("{:#?}", p.with_file_name(""));
println!("{}", p.with_file_name("").display().to_string());
}
Ok(())
}
Expand Down
2 changes: 1 addition & 1 deletion ato/src/tk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub async fn async_hash(r: &str, p: &path::Path, e: &str) -> Result<(), Box<dyn
let _ = fs::copy(p, format!("{}/gt.stl", &md5_dir)).await?;
}
else {
println!("{:#?}", p.with_file_name(""));
println!("{}", p.with_file_name("").display().to_string());
}
Ok(())
}
Expand Down

0 comments on commit 394efad

Please sign in to comment.