gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: fix condition


From: gnunet
Subject: [taler-wallet-core] branch master updated: fix condition
Date: Wed, 04 Aug 2021 22:35:08 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 8210480b fix condition
8210480b is described below

commit 8210480bdda272ab4b8a36125034e7f450ed78ab
Author: Florian Dold <florian@dold.me>
AuthorDate: Wed Aug 4 22:35:03 2021 +0200

    fix condition
---
 packages/taler-wallet-cli/src/lint.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/taler-wallet-cli/src/lint.ts 
b/packages/taler-wallet-cli/src/lint.ts
index 22d08bb0..66257190 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++;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]