Changed var

This commit is contained in:
Joan Sanchez 2020-09-14 12:34:13 +02:00
parent 076ee50c0f
commit c077afcfed
1 changed files with 2 additions and 2 deletions

View File

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