Fix ConfigLoader configPaths if no includes

This commit is contained in:
Bryan Ashby 2020-06-15 21:25:05 -06:00
parent 683075f4ca
commit 1a96ad41d2
No known key found for this signature in database
GPG Key ID: B49EB437951D2542
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}