Updated "can't read file" message to use the correct variable.

This commit is contained in:
Jaron Viëtor 2013-06-29 23:57:43 +02:00
parent d0689c81bb
commit d72d63dfc6

View File

@ -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) {