[Pkg-javascript-commits] [uglifyjs] 08/190: Replace util.puts in run-tests with console.log

Antonio Terceiro terceiro at moszumanska.debian.org
Sun Aug 7 23:17:07 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 f8684f418a1801927fcdf9a205817fe07ff89720
Author: Richard van Velzen <rvanvelzen at experty.com>
Date:   Wed Jul 29 15:24:45 2015 +0200

    Replace util.puts in run-tests with console.log
    
    See d2dda34b2a8de310f26a26e58ed28275ba5ecc7f
---
 test/run-tests.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/run-tests.js b/test/run-tests.js
index 215f6af..d97e5cf 100755
--- a/test/run-tests.js
+++ b/test/run-tests.js
@@ -31,7 +31,7 @@ function tmpl() {
 
 function log() {
     var txt = tmpl.apply(this, arguments);
-    sys.puts(txt);
+    console.log("%s", txt);
 }
 
 function log_directory(dir) {

-- 
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