From: Richard van Velzen Date: Wed, 29 Jul 2015 13:24:45 +0000 (+0200) Subject: Replace util.puts in run-tests with console.log X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=f8684f418a1801927fcdf9a205817fe07ff89720;p=UglifyJS.git Replace util.puts in run-tests with console.log See d2dda34b2a8de310f26a26e58ed28275ba5ecc7f --- diff --git a/test/run-tests.js b/test/run-tests.js index 215f6af8..d97e5cf1 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) {