Skip to content

Commit

Permalink
Fix extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
Avgor46 committed Sep 29, 2023
1 parent 2309ca2 commit 4ec0964
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions casr/src/triage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,8 @@ fn summarize_results(
err_dir
.filter_map(|x| x.ok())
.map(|x| x.path().display().to_string())
.filter(|x| x.ends_with("casrep"))
.filter(|x| !x.ends_with("gdb.casrep")
.filter(|x| x.ends_with(".casrep"))
.filter(|x| !x.ends_with(".gdb.casrep")
|| !PathBuf::from(x.strip_suffix("gdb.casrep").unwrap().to_string() + "casrep")
.exists())
.count(),
Expand Down

0 comments on commit 4ec0964

Please sign in to comment.