Skip to content

Commit

Permalink
common: don't filter errors that are partially from includes (#790)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrettMayson authored Oct 9, 2024
1 parent 037d696 commit e90a831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/src/report.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ fn filter_codes(
} else {
!c.include()
&& c.diagnostic()
.map_or(true, |d| !d.labels.iter().any(|l| l.file().is_include()))
.map_or(true, |d| !d.labels.iter().all(|l| l.file().is_include()))
}
})
.cloned()
Expand Down

0 comments on commit e90a831

Please sign in to comment.