From d72d63dfc61b7bf03babd1148dc38f9c09da4ea9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaron=20Vi=C3=ABtor?= Date: Sat, 29 Jun 2013 23:57:43 +0200 Subject: [PATCH] Updated "can't read file" message to use the correct variable. --- bin/uglifyjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/uglifyjs b/bin/uglifyjs index 2611d960..3687c95b 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) {