Skip to content

Commit

Permalink
Merge branch 'fix-symlink-traversal'
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Jul 12, 2023
2 parents 112e99e + 3f5e842 commit 43d44cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/windows.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ fn traverse_paths_recursively(
collection: &mut Vec<PathBuf>,
) -> Result<(), Error> {
for base_path in paths {
if base_path.is_file() {
if base_path.is_file() || base_path.is_symlink() {
collection.push(base_path);
continue;
}
Expand Down

0 comments on commit 43d44cb

Please sign in to comment.