summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog6
-rw-r--r--packages/taler-wallet-cli/src/lint.ts6
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 <dold@taler.net> 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);
}
}