aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-util
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-08-04 18:05:41 +0200
committerFlorian Dold <florian@dold.me>2021-08-04 18:05:41 +0200
commitacaa2282b60d9911532570ee261f541b11cb3a58 (patch)
tree7d9585b5a292194ec0b2f5b8d8d10a954842beca /packages/taler-util
parent17f2132b4a2a0b5f038347814bc859a035b2ad80 (diff)
linting
Diffstat (limited to 'packages/taler-util')
-rw-r--r--packages/taler-util/src/talerconfig.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-util/src/talerconfig.ts b/packages/taler-util/src/talerconfig.ts
index 32213f834..8652a8b01 100644
--- a/packages/taler-util/src/talerconfig.ts
+++ b/packages/taler-util/src/talerconfig.ts
@@ -103,7 +103,7 @@ export class ConfigValue<T> {
) {}
required(): T {
- if (!this.value) {
+ if (this.value == undefined) {
throw new ConfigError(
`required option [${this.sectionName}]/${this.optionName} not found`,
);