Merge branch 'master' into age-withdraw

This commit is contained in:
Özgür Kesim 2023-08-28 19:40:26 +02:00
commit dd4b96e1e6
Signed by: oec
GPG Key ID: 3D76A56D79EDD9D7
2 changed files with 7 additions and 3 deletions

View File

@ -196,7 +196,7 @@ configCli
res = config.getPath(args.get.section, args.get.option);
}
if (res.isDefined()) {
console.log(res.value);
console.log(res.getValue());
} else {
console.warn("not found");
process.exit(1);

View File

@ -112,6 +112,10 @@ export class ConfigValue<T> {
isDefined(): boolean {
return this.value !== undefined;
}
getValue(): string | undefined {
return this.value
}
}
/**