Skip to content

Commit

Permalink
fix: formats code properly
Browse files Browse the repository at this point in the history
  • Loading branch information
yuuhikaze committed Dec 9, 2024
1 parent 0c063c7 commit 3485c11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/ignore/src/overrides.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ impl Override {
self.0.matched(path, is_dir)
};
if mat.is_none()
&& (self.num_whitelists() > 0 && INVERTED_MATCHING.load(Ordering::Relaxed))
&& (self.num_whitelists() > 0
&& INVERTED_MATCHING.load(Ordering::Relaxed))
&& !is_dir
{
return Match::Ignore(Glob::unmatched());
Expand Down

0 comments on commit 3485c11

Please sign in to comment.