mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 12:12:20 +00:00
commit
8d74258ce2
@ -54,7 +54,7 @@ fs.readFile(configFileName, "utf-8", function (err, data) {
|
|||||||
v.JSHINT(data); // Parser by jshint
|
v.JSHINT(data); // Parser by jshint
|
||||||
|
|
||||||
if (v.JSHINT.errors.length == 0) {
|
if (v.JSHINT.errors.length == 0) {
|
||||||
console.log("Your configuration file don't containt syntax error :)");
|
console.log("Your configuration file doesn't contain syntax errors :)");
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
errors = v.JSHINT.data().errors;
|
errors = v.JSHINT.data().errors;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user