From 1e9b35d18f65a63ab85cc01d20ee6551f3fe2ad3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Ram=C3=ADrez=20Norambuena?= Date: Thu, 26 Jan 2017 21:13:58 -0300 Subject: [PATCH] Fix bug validation when is not set MM_CONFIG_FILE enviroment variable --- js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/app.js b/js/app.js index 9f992b29..6466fe3f 100644 --- a/js/app.js +++ b/js/app.js @@ -49,7 +49,7 @@ var App = function() { // For this check proposed to TestSuite // https://forum.magicmirror.builders/topic/1456/test-suite-for-magicmirror/8 var configFilename = path.resolve(global.root_path + "/config/config.js"); - if (typeof(global.configuration_file) === "undefined" ) { + if (typeof(global.configuration_file) !== "undefined") { configFilename = path.resolve(global.configuration_file); }