Updated "can't read file" message to use the correct variable.
This commit is contained in:
parent
d0689c81bb
commit
d72d63dfc6
|
|
@ -223,7 +223,7 @@ try {
|
||||||
async.eachLimit(files, 1, function (file, cb) {
|
async.eachLimit(files, 1, function (file, cb) {
|
||||||
read_whole_file(file, function (err, code) {
|
read_whole_file(file, function (err, code) {
|
||||||
if (err) {
|
if (err) {
|
||||||
sys.error("ERROR: can't read file: " + filename);
|
sys.error("ERROR: can't read file: " + file);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
if (ARGS.p != null) {
|
if (ARGS.p != null) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user