aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/uglifyjs5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/uglifyjs b/bin/uglifyjs
index 2b02df03..e5124b06 100755
--- a/bin/uglifyjs
+++ b/bin/uglifyjs
@@ -237,7 +237,10 @@ function run() {
// load on demand - assumes dev tree checked out
var reduce_test = require("../test/reduce");
var testcase = files[0] || files[Object.keys(files)[0]];
- var result = reduce_test(testcase, options, {verbose: true});
+ var result = reduce_test(testcase, options, {
+ log: print_error,
+ verbose: true,
+ });
}
else {
var result = UglifyJS.minify(files, options);