aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/taler-harness/src/index.ts')
-rw-r--r--packages/taler-harness/src/index.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/taler-harness/src/index.ts b/packages/taler-harness/src/index.ts
index 0efaea9ad..cd688ed89 100644
--- a/packages/taler-harness/src/index.ts
+++ b/packages/taler-harness/src/index.ts
@@ -191,12 +191,12 @@ configCli
const config = Configuration.load();
let res;
if (args.get.file) {
- res = config.getString(args.get.section, args.get.option);
- } else {
res = config.getPath(args.get.section, args.get.option);
+ } else {
+ res = config.getString(args.get.section, args.get.option);
}
if (res.isDefined()) {
- console.log(res.getValue());
+ console.log(res.required());
} else {
console.warn("not found");
process.exit(1);