Skip to content

Commit

Permalink
[casr-dojo] Skip corrupted CASR reports in clerr directory (#136)
Browse files Browse the repository at this point in the history
Closes #134
  • Loading branch information
SweetVishnya authored Sep 8, 2023
1 parent 7f0295d commit 779919d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions casr/src/bin/casr-dojo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,7 @@ async fn main() -> Result<()> {
.flatten()
.map(|e| e.into_path())
.filter(|e| e.is_file())
.filter(|e| e.parent().unwrap().file_name().unwrap() != "clerr")
.filter(|e| e.extension().is_some() && e.extension().unwrap() == "casrep")
.filter(|e| {
!e.to_str().unwrap().ends_with(".gdb.casrep")
Expand Down

0 comments on commit 779919d

Please sign in to comment.