Skip to content

Commit

Permalink
fix: filtering and exclusion logic
Browse files Browse the repository at this point in the history
  • Loading branch information
madonuko committed Jul 29, 2024
1 parent 2ac0dff commit 0899090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub fn update(
scr_len += 1;
let mut lbls = std::mem::take(&mut proj.labels);
lbls.extend(global_lbls.clone());
if fls.iter().all(|fls| fls.iter().any(filter_project(&lbls))) {
if !fls.is_empty() && fls.iter().all(|fls| fls.iter().any(filter_project(&lbls))) {
continue;
}
if excls.iter().any(|excls| excls.iter().all(exclude_project(&lbls))) {
Expand Down

0 comments on commit 0899090

Please sign in to comment.