Fix ConfigLoader configPaths if no includes
This commit is contained in:
parent
683075f4ca
commit
1a96ad41d2
|
@ -200,6 +200,7 @@ module.exports = class ConfigLoader {
|
|||
|
||||
_resolveIncludes(configRoot, config, cb) {
|
||||
if (!Array.isArray(config.includes)) {
|
||||
this.configPaths = [ this.baseConfigPath ];
|
||||
return cb(null, config);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue