Skip to content

Commit

Permalink
sort glob result (#4796)
Browse files Browse the repository at this point in the history
Co-authored-by: Harouna Traoré <[email protected]>
  • Loading branch information
haroun and haroun authored Nov 8, 2024
1 parent 46dea7d commit 6d3d7b5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@ function invoke() {
follow: false,
absolute: false
});
files.sort((a, b) => a.localeCompare(b, 'en'));

if (stats) {
// optimize fs calls
Expand Down

0 comments on commit 6d3d7b5

Please sign in to comment.