Skip to content

Commit

Permalink
🔥 Removed try_exists for exists
Browse files Browse the repository at this point in the history
  • Loading branch information
lukacan committed Sep 18, 2023
1 parent ff77412 commit 04d3dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/client/src/cleaner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl Cleaner {
let hfuzz_target_path = Path::new(root)
.join(crate::test_generator::TESTS_WORKSPACE)
.join(crate::test_generator::HFUZZ_TARGET);
if hfuzz_target_path.try_exists().unwrap() {
if hfuzz_target_path.exists() {
fs::remove_dir_all(hfuzz_target_path).await?;
} else {
println!(
Expand Down

0 comments on commit 04d3dd4

Please sign in to comment.