From b7adbcab1f4c9e846ae0b9ec3fd32991d62b68cf Mon Sep 17 00:00:00 2001 From: Mihai Bazon Date: Tue, 30 Jul 2013 12:16:29 +0300 Subject: [PATCH] Fix #251 --- bin/uglifyjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.34.1