1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Description: glob >= 7 no longer sorts
Author: Jérémy Lal <kapouer@melix.org>
Forwarded: not-needed, upstream knows that already
Last-Update: 2025-11-23
--- a/bin/tape
+++ b/bin/tape
@@ -60,7 +60,7 @@
throw new TypeError('unknown error: glob.sync("' + arg + '") did not return an array or throw. Please report this.');
}
- return result.concat(globFiles);
+ return result.concat(globFiles.sort((a, b) => a.localeCompare(b)));
}
return result.concat(arg);
}, []).filter(function (file) {
|