Changed var
This commit is contained in:
parent
076ee50c0f
commit
c077afcfed
|
@ -16,8 +16,8 @@ for (let configFile of configFiles) {
|
||||||
if (!configFile.includes(configPath))
|
if (!configFile.includes(configPath))
|
||||||
configFile = path.join(__dirname, configFile);
|
configFile = path.join(__dirname, configFile);
|
||||||
|
|
||||||
if (fs.existsSync(filePath)) {
|
if (fs.existsSync(configFile)) {
|
||||||
const conf = require(filePath);
|
const conf = require(configFile);
|
||||||
for (let prop in conf)
|
for (let prop in conf)
|
||||||
Object.assign(config[prop], conf[prop]);
|
Object.assign(config[prop], conf[prop]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue