diff options
author | Florian Dold <florian@dold.me> | 2020-12-14 16:45:15 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2020-12-14 16:45:15 +0100 |
commit | f332d61fb68fbc394f31337ddeb7d1fc114772d0 (patch) | |
tree | eeb9e7dd527ab7efcaa7812f4440e8901185e9aa /packages/taler-wallet-cli | |
parent | c4b44a51097e67a357b490adf407f1a6afb0d8ee (diff) | |
download | wallet-core-f332d61fb68fbc394f31337ddeb7d1fc114772d0.tar.xz |
formatting pass
Diffstat (limited to 'packages/taler-wallet-cli')
-rw-r--r-- | packages/taler-wallet-cli/src/index.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/taler-wallet-cli/src/index.ts b/packages/taler-wallet-cli/src/index.ts index 936ce4851..e8e09f8fa 100644 --- a/packages/taler-wallet-cli/src/index.ts +++ b/packages/taler-wallet-cli/src/index.ts @@ -654,8 +654,8 @@ testCli.subcommand("vectors", "vectors").action(async (args) => { async function read(stream: NodeJS.ReadStream) { const chunks = []; - for await (const chunk of stream) chunks.push(chunk); - return Buffer.concat(chunks).toString('utf8'); + for await (const chunk of stream) chunks.push(chunk); + return Buffer.concat(chunks).toString("utf8"); } testCli.subcommand("tvgcheck", "tvgcheck").action(async (args) => { @@ -667,7 +667,7 @@ testCli.subcommand("tvgcheck", "tvgcheck").action(async (args) => { throw Error("can't split lines"); } - const vals: Record<string, string> = {} + const vals: Record<string, string> = {}; let inBlindSigningSection = false; @@ -684,7 +684,7 @@ testCli.subcommand("tvgcheck", "tvgcheck").action(async (args) => { const m = line.match(/ (\w+) (\w+)/); if (!m) { console.log("bad format"); - process.exit(2) + process.exit(2); } vals[m[1]] = m[2]; } @@ -697,7 +697,7 @@ testCli.subcommand("tvgcheck", "tvgcheck").action(async (args) => { throw Error(`no value for ${k}`); } return decodeCrock(vals[k]); - } + }; const myBm = rsaBlind( req("message_hash"), |