completly disable opted-out components
This commit is contained in:
parent
bab0171120
commit
02e407f90b
|
@ -65,7 +65,9 @@ Config.prototype.reloadConfig = function() {
|
|||
|
||||
Config.prototype._mergeConfig = function(configFilePath, defaultConfig, env) {
|
||||
if (!configFilePath) {
|
||||
return defaultConfig['default'] || {};
|
||||
let configToReturn = defaultConfig['default'] || {}
|
||||
configToReturn.enabled = false;
|
||||
return configToReturn;
|
||||
}
|
||||
|
||||
if (!fs.existsSync(configFilePath)) {
|
||||
|
|
Loading…
Reference in New Issue