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:
1 parent
6ecbb99e8a
commit
19b7febe9e
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user