diff options
Diffstat (limited to 'packages/taler-wallet-cli/src/lint.ts')
-rw-r--r-- | packages/taler-wallet-cli/src/lint.ts | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/packages/taler-wallet-cli/src/lint.ts b/packages/taler-wallet-cli/src/lint.ts index 4913d2ab5..4f6b4d605 100644 --- a/packages/taler-wallet-cli/src/lint.ts +++ b/packages/taler-wallet-cli/src/lint.ts @@ -138,9 +138,11 @@ function checkCoinConfig(cfg: Configuration, basic: BasicConf): void { // FIXME: check that section is well-formed } - console.log( - "error: no coin denomination configured, please configure [coin_*] sections", - ); + if (numCoins == 0) { + console.log( + "error: no coin denomination configured, please configure [coin-*] sections", + ); + } } function checkWireConfig(cfg: Configuration): void { @@ -231,7 +233,6 @@ export async function checkExchangeHttpd( console.log( "warning: section EXCHANGE option BASE_URL: it is recommended to serve the exchange via HTTPS", ); - process.exit(1); } { @@ -265,7 +266,9 @@ export async function checkExchangeHttpd( ); if (keys.master_public_key !== pubConf.masterPublicKey) { - console.log("error: master public key of exchange does not match public key of live exchange"); + console.log( + "error: master public key of exchange does not match public key of live exchange", + ); } } } |