aboutsummaryrefslogtreecommitdiff
path: root/bin/uglifyjs
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-04-14 03:13:42 +0100
committerGitHub <noreply@github.com>2020-04-14 10:13:42 +0800
commitc4d28e3b2a2d82c7e5e3b398513755b507a75e76 (patch)
tree955bed9c2cfb691ea84abf8476cc2dd0a507f907 /bin/uglifyjs
parent77261e1ee037f3eea2d5ec80abb1387d4ba5c67e (diff)
downloadtracifyjs-c4d28e3b2a2d82c7e5e3b398513755b507a75e76.tar.gz
tracifyjs-c4d28e3b2a2d82c7e5e3b398513755b507a75e76.zip
expand testing on Node.js versions (#3779)
Diffstat (limited to 'bin/uglifyjs')
-rwxr-xr-xbin/uglifyjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/uglifyjs b/bin/uglifyjs
index 2893d87b..4f84d387 100755
--- a/bin/uglifyjs
+++ b/bin/uglifyjs
@@ -337,7 +337,7 @@ function simple_glob(glob) {
.replace(/\?/g, "[^/\\\\]") + "$";
var mod = process.platform === "win32" ? "i" : "";
var rx = new RegExp(pattern, mod);
- var results = entries.filter(function(name) {
+ var results = entries.sort().filter(function(name) {
return rx.test(name);
}).map(function(name) {
return path.join(dir, name);