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