Skip to content

Commit

Permalink
Enable sorting when walking file hierarchies (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Feb 22, 2024
1 parent 95b447e commit bd9e181
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/applier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ impl Applier<'_> {
match_options.require_literal_separator = true;

for path in WalkDir::new(root_context.root)
.sort_by_file_name()
.into_iter()
.filter_map(|e| e.ok())
.filter(|e| e.file_type().is_file())
Expand Down

0 comments on commit bd9e181

Please sign in to comment.