*Update use of config api
ci/woodpecker/push/woodpecker Pipeline failed Details

This commit is contained in:
Derrick Hammer 2022-12-19 11:37:49 -05:00
parent bf8a3f9aa1
commit ccd2b4fd78
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 8 deletions

View File

@ -31,10 +31,7 @@ config.inject({
plugins: ["core"],
});
config.load({
env: true,
argv: true,
});
config.load();
configDir = config.str("configdir");
@ -46,10 +43,7 @@ if (fs.existsSync(configDir)) {
}
}
config.load({
env: true,
argv: true,
});
config.load();
log.level = config.get("loglevel");