aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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) {