fix build
This commit is contained in:
parent
c95740f1e8
commit
8941f29cb4
@ -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);
|
||||
|
@ -112,6 +112,10 @@ export class ConfigValue<T> {
|
||||
isDefined(): boolean {
|
||||
return this.value !== undefined;
|
||||
}
|
||||
|
||||
getValue(): string | undefined {
|
||||
return this.value
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user