Skip to content

Commit

Permalink
style: fix formatting in filters.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
willibrandon committed Jan 13, 2025
1 parent f8b9a75 commit f5b1ca8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rtrace_core/src/filters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ pub fn has_valid_extension(path: &Path, extensions: &Option<Vec<String>>) -> boo
/// Checks if a file should be ignored based on ignore patterns
pub fn should_ignore(path: &Path, ignore_patterns: &[String]) -> bool {
let path_str = path.to_string_lossy();

// Always ignore target/ and .git/ directories
if path_str.contains("/target/") || path_str.contains("/.git/") {
return true;
Expand Down

0 comments on commit f5b1ca8

Please sign in to comment.