aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-harness/src/index.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-08-29 09:02:16 +0200
committerFlorian Dold <florian@dold.me>2023-08-29 09:03:19 +0200
commitb13bd85215ad64e7a2764ac7e7fee5945ffa1c07 (patch)
tree70643c7e76baeb9f61857add603dc381b6f03766 /packages/taler-harness/src/index.ts
parent8941f29cb457f86235b73f125e77a88cb762f353 (diff)
taler-harness: remove axios usage, renovate some tests
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);