Fix : ReferenceError: err is not defined (#1254)

Would fix an error I had 
It catch an error "e" but try to display "err"
This commit is contained in:
franxois authored and Christopher Chedeau committed 2017-04-13 15:49:53 -07:00
1 parent 6ecbb99e8a
commit 19b7febe9e
1 file changed
+1 -1
+1 -1
View File
@@ -228,7 +228,7 @@ if (stdin) {
// Add newline to split errors from filename line.
process.stdout.write("\n");
console.error("Unable to read file: " + filename + "\n" + err);
console.error("Unable to read file: " + filename + "\n" + e);
// Don't exit the process if one file failed
process.exitCode = 2;
return;