From: Mihai Bazon Date: Tue, 30 Jul 2013 09:16:29 +0000 (+0300) Subject: Fix #251 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=b7adbcab1f4c9e846ae0b9ec3fd32991d62b68cf;p=UglifyJS.git Fix #251 --- diff --git a/bin/uglifyjs b/bin/uglifyjs index 56ff2235..1e686d1b 100755 --- a/bin/uglifyjs +++ b/bin/uglifyjs @@ -223,7 +223,7 @@ try { async.eachLimit(files, 1, function (file, cb) { read_whole_file(file, function (err, code) { if (err) { - sys.error("ERROR: can't read file: " + filename); + sys.error("ERROR: can't read file: " + file); process.exit(1); } if (ARGS.p != null) {