diff options
author | Florian Dold <florian@dold.me> | 2021-08-19 13:48:36 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-08-19 13:48:45 +0200 |
commit | 3ce740d87dc51c2f9a330d3e12237ba1fdd5f2e7 (patch) | |
tree | f47e2abbfab0d54fc198407fae1e8a250c010362 /packages/taler-wallet-cli/src/index.ts | |
parent | 97a05ff659af274dcfcd9c76bf19100bbd51ce0e (diff) | |
download | wallet-core-3ce740d87dc51c2f9a330d3e12237ba1fdd5f2e7.tar.xz |
store 'list issue date' of denoms, cleanup
Diffstat (limited to 'packages/taler-wallet-cli/src/index.ts')
-rw-r--r-- | packages/taler-wallet-cli/src/index.ts | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts index 673bfab2a..796b6ae14 100644 --- a/packages/taler-wallet-cli/src/index.ts +++ b/packages/taler-wallet-cli/src/index.ts @@ -901,12 +901,12 @@ deploymentCli .action(async (args) => { let out = ""; - const stamp = Math.floor((new Date()).getTime() / 1000); + const stamp = Math.floor(new Date().getTime() / 1000); const min = Amounts.parseOrThrow(args.coincfg.minAmount); const max = Amounts.parseOrThrow(args.coincfg.maxAmount); if (min.currency != max.currency) { - console.error("currency mismatch") + console.error("currency mismatch"); process.exit(1); } const currency = min.currency; @@ -961,7 +961,14 @@ testCli .subcommand("listIntegrationtests", "list-integrationtests") .action(async (args) => { for (const t of getTestInfo()) { - console.log(t.name); + let s = t.name; + if (t.suites.length > 0) { + s += ` (suites: ${t.suites.join(",")})`; + } + if (t.excludeByDefault) { + s += ` [excluded by default]`; + } + console.log(s); } }); |