Skip to content

Commit 4982edd

Browse files
Cargo fmt
1 parent fb1513a commit 4982edd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/git_ops.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ use walkdir::WalkDir;
1111
// Check if a directory should be excluded
1212
fn is_excluded_dir(entry: &walkdir::DirEntry, exclude_dirs: &[String]) -> bool {
1313
let path = entry.path(); // Get the full path of the directory
14-
exclude_dirs.iter().any(|exclude| path.to_string_lossy().contains(exclude))
14+
exclude_dirs
15+
.iter()
16+
.any(|exclude| path.to_string_lossy().contains(exclude))
1517
}
1618

1719
// Send the path to the channel if it is a Git repository

0 commit comments

Comments
 (0)