diff options
author | Florian Dold <florian@dold.me> | 2021-08-04 22:35:03 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-08-04 22:35:03 +0200 |
commit | 8210480bdda272ab4b8a36125034e7f450ed78ab (patch) | |
tree | 0ab6d61e8cb638c4f0624c6d945369f36070b434 | |
parent | 3ca05c090637b02bf751e448daf874f6acea44b0 (diff) |
fix condition
-rw-r--r-- | packages/taler-wallet-cli/src/lint.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-cli/src/lint.ts b/packages/taler-wallet-cli/src/lint.ts index 22d08bb0f..662571907 100644 --- a/packages/taler-wallet-cli/src/lint.ts +++ b/packages/taler-wallet-cli/src/lint.ts @@ -155,7 +155,7 @@ function checkCoinConfig(context: LintContext, basic: BasicConf): void { let numCoins = 0; for (const secName of cfg.getSectionNames()) { - if (!secName.startsWith(coinPrefix1) && !secName.startsWith(coinPrefix2)) { + if (!secName.startsWith(coinPrefix1) || !secName.startsWith(coinPrefix2)) { continue; } numCoins++; |