Skip to content

Commit

Permalink
some progress on error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuoguo committed Jul 20, 2023
1 parent 7a5f3ec commit 57515fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/verus/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ fn repo_path() -> Option<Reports> {
let project_name = input_file_path
.as_ref()
.map(|path| format!("{:x}", sha2::Sha256::digest(path.to_str().unwrap().as_bytes())));
// not sure how to write a ? to replace unwrap

let proj_dir = project_name.map(|name| {
let project_dir = reports_dir.join(uuid).join(name);
Expand Down

0 comments on commit 57515fb

Please sign in to comment.