Skip to content

Commit

Permalink
Update glob sorting comment link
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Nov 13, 2024
1 parent bd50141 commit 96cd84f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli/lookup-files.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ module.exports = function lookupFiles(
})
// glob@8 and earlier sorted results in en; glob@9 depends on OS sorting.
// This preserves the older glob behavior.
// https://github.com/mochajs/mocha/pull/5250
// https://github.com/mochajs/mocha/pull/5250/files#r1840469747
.sort((a, b) => a.localeCompare(b, 'en'))
);
if (!files.length) {
Expand Down

0 comments on commit 96cd84f

Please sign in to comment.