Skip to content

Commit

Permalink
Fix traversing the root folder twice
Browse files Browse the repository at this point in the history
  • Loading branch information
darrell-roberts committed Nov 16, 2024
1 parent 9cde48a commit 8bf951e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ fn main() -> anyhow::Result<()> {
.overrides(overrides)
.follow_links(options.follow_links);

for root in directories {
for root in directories.into_iter().skip(1) {
walker_builder.add(root);
}

Expand Down

0 comments on commit 8bf951e

Please sign in to comment.