mirror of
				https://github.com/MichMich/MagicMirror.git
				synced 2025-10-31 02:36:47 +00:00 
			
		
		
		
	Fix some == with ===
This commit is contained in:
		| @@ -66,7 +66,7 @@ var App = function() { | ||||
| 			var config = Object.assign(defaults, c); | ||||
| 			callback(config); | ||||
| 		} catch (e) { | ||||
| 			if (e.code == "ENOENT") { | ||||
| 			if (e.code === "ENOENT") { | ||||
| 				console.error(Utils.colors.error("WARNING! Could not find config file. Please create one. Starting with default configuration.")); | ||||
| 			} else if (e instanceof ReferenceError || e instanceof SyntaxError) { | ||||
| 				console.error(Utils.colors.error("WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: " + e.stack)); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user