Skip to content

Commit

Permalink
fix: taurignore ignoreing folders not working for watch
Browse files Browse the repository at this point in the history
  • Loading branch information
anatawa12 committed Feb 19, 2024
1 parent 258494b commit c34443f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tooling/cli/src/interface/rust.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ struct IgnoreMatcher(Vec<Gitignore>);
impl IgnoreMatcher {
fn is_ignore(&self, path: &Path, is_dir: bool) -> bool {
for gitignore in &self.0 {
if gitignore.matched(path, is_dir).is_ignore() {
if gitignore.matched_path_or_any_parents(path, is_dir).is_ignore() {
return true;
}
}
Expand Down

0 comments on commit c34443f

Please # to comment.