aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-08-04 22:35:03 +0200
committerFlorian Dold <florian@dold.me>2021-08-04 22:35:03 +0200
commit8210480bdda272ab4b8a36125034e7f450ed78ab (patch)
tree0ab6d61e8cb638c4f0624c6d945369f36070b434
parent3ca05c090637b02bf751e448daf874f6acea44b0 (diff)
fix condition
-rw-r--r--packages/taler-wallet-cli/src/lint.ts2
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++;