Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rpschoenburg committed Jan 6, 2025
1 parent 93fd63f commit 884f948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/src/repositories/diffs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ pub fn diff(
})?,
);

let hash = file_node.hash.to_string();
let hash = file_node.unwrap().hash.to_string();

Check failure on line 141 in src/lib/src/repositories/diffs.rs

View workflow job for this annotation

GitHub Actions / Clippy

used `unwrap()` on `Some` value

let committed_file = util::fs::version_path_from_node(&repository, &hash, &path_1);
// log::debug!("committed file: {:?}", committed_file);
Expand Down

0 comments on commit 884f948

Please sign in to comment.