*Update use of config api
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
This commit is contained in:
parent
bf8a3f9aa1
commit
ccd2b4fd78
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue