[Pkg-javascript-commits] [uglifyjs] 62/190: Replace util.error with console.log

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Aug 7 23:17:13 UTC 2016


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to annotated tag upstream/2.7.0
in repository uglifyjs.

commit 619adb0308dbc794e9c3b77185e886443e03df9e
Author: Mihai Bazon <mihai.bazon at gmail.com>
Date:   Thu Nov 12 11:47:37 2015 +0200

    Replace util.error with console.log
---
 test/run-tests.js | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/test/run-tests.js b/test/run-tests.js
index 7f6166f..3ec04fd 100755
--- a/test/run-tests.js
+++ b/test/run-tests.js
@@ -4,7 +4,6 @@ var U = require("../tools/node");
 var path = require("path");
 var fs = require("fs");
 var assert = require("assert");
-var sys = require("util");
 
 var tests_dir = path.dirname(module.filename);
 var failures = 0;
@@ -12,8 +11,8 @@ var failed_files = {};
 
 run_compress_tests();
 if (failures) {
-    sys.error("\n!!! Failed " + failures + " test cases.");
-    sys.error("!!! " + Object.keys(failed_files).join(", "));
+    console.error("\n!!! Failed " + failures + " test cases.");
+    console.error("!!! " + Object.keys(failed_files).join(", "));
     process.exit(1);
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git



More information about the Pkg-javascript-commits mailing list