diff options
author | Florian Dold <florian@dold.me> | 2021-08-04 18:05:41 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-08-04 18:05:41 +0200 |
commit | acaa2282b60d9911532570ee261f541b11cb3a58 (patch) | |
tree | 7d9585b5a292194ec0b2f5b8d8d10a954842beca /packages/taler-util/src | |
parent | 17f2132b4a2a0b5f038347814bc859a035b2ad80 (diff) | |
download | wallet-core-acaa2282b60d9911532570ee261f541b11cb3a58.tar.xz |
linting
Diffstat (limited to 'packages/taler-util/src')
-rw-r--r-- | packages/taler-util/src/talerconfig.ts | 2 |
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`, ); |