mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 09:42:21 -04:00
Fix bug validation when is not set MM_CONFIG_FILE enviroment variable
This commit is contained in:
parent
9bd42ac221
commit
1e9b35d18f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue