aboutsummaryrefslogtreecommitdiff
path: root/bin/uglifyjs
diff options
context:
space:
mode:
authorMihai Bazon <mihai@bazon.net>2013-07-30 12:16:29 +0300
committerMihai Bazon <mihai@bazon.net>2013-07-30 12:16:29 +0300
commitb7adbcab1f4c9e846ae0b9ec3fd32991d62b68cf (patch)
treed6b5260316e204c1af221ae1987e826873be4411 /bin/uglifyjs
parent3435af494f62c59ce0d769e762966b91c57090b4 (diff)
downloadtracifyjs-b7adbcab1f4c9e846ae0b9ec3fd32991d62b68cf.tar.gz
tracifyjs-b7adbcab1f4c9e846ae0b9ec3fd32991d62b68cf.zip
Fix #251
Diffstat (limited to 'bin/uglifyjs')
-rwxr-xr-xbin/uglifyjs2
1 files changed, 1 insertions, 1 deletions
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) {