From 8e41165f454d737d7ca6939dcacf1738d29e90bd Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 5 Aug 2021 00:02:49 +0200 Subject: debian: bump version --- debian/changelog | 6 ++++++ packages/taler-wallet-cli/src/lint.ts | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 7068ef049..691a8235b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +taler-wallet-cli (0.0.1-3) unstable; urgency=low + + * Deployment linting improvements. + + -- Florian Dold Thu, 05 Aug 2021 00:02:33 +0200 + taler-wallet-cli (0.0.1-2) unstable; urgency=low * Improved denomination generator. diff --git a/packages/taler-wallet-cli/src/lint.ts b/packages/taler-wallet-cli/src/lint.ts index e9b51d272..b640d0cf2 100644 --- a/packages/taler-wallet-cli/src/lint.ts +++ b/packages/taler-wallet-cli/src/lint.ts @@ -523,11 +523,11 @@ export async function lintExchangeDeployment( await checkExchangeHttpd(context, pubConf); - if (context.numErr > 0) { + if (context.numErr == 0) { console.log("Linting completed without errors."); process.exit(0); } else { - console.log("Linting completed with errors."); - process.exit(0); + console.log(`Linting completed with ${context.numErr} errors.`); + process.exit(1); } } -- cgit v1.2.3