Merge branch 'dev' of https://gitea.verdnatura.es/verdnatura/salix into 2446-ticket_index_overlap_ref_and_state
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
commit
f7a5b4bdce
|
@ -13,14 +13,15 @@ let configFiles = [
|
||||||
];
|
];
|
||||||
|
|
||||||
for (let configFile of configFiles) {
|
for (let configFile of configFiles) {
|
||||||
const filePath = path.join(__dirname, configFile);
|
if (!configFile.includes(configPath))
|
||||||
if (fs.existsSync(filePath)) {
|
configFile = path.join(__dirname, configFile);
|
||||||
const conf = require(filePath);
|
|
||||||
|
if (fs.existsSync(configFile)) {
|
||||||
|
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]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
config.env = env;
|
config.env = env;
|
||||||
|
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
|
Loading…
Reference in New Issue