[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] 03/06: auto format
From: |
gnunet |
Subject: |
[taler-wallet-core] 03/06: auto format |
Date: |
Mon, 06 Apr 2020 10:45:59 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-core.
commit dee9ccf7b1dc7d5122907b9beea8442db2472d59
Author: Florian Dold <address@hidden>
AuthorDate: Mon Apr 6 13:32:56 2020 +0530
auto format
---
src/webex/i18n.tsx | 8 ++++----
src/webex/wxBackend.ts | 14 ++++++++------
2 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/src/webex/i18n.tsx b/src/webex/i18n.tsx
index 2e753e44..a156cf83 100644
--- a/src/webex/i18n.tsx
+++ b/src/webex/i18n.tsx
@@ -226,8 +226,8 @@ export class TranslatePlural extends React.Component<
typeof childArray[i] === "string" &&
typeof childArray[i + 1] === "string"
) {
- childArray[i + i] = ((childArray[i] as string) +
- childArray[i + 1]) as string;
+ childArray[i + i] =
+ ((childArray[i] as string) + childArray[i + 1]) as string;
childArray.splice(i, 1);
}
}
@@ -267,8 +267,8 @@ export class TranslateSingular extends React.Component<
typeof childArray[i] === "string" &&
typeof childArray[i + 1] === "string"
) {
- childArray[i + i] = ((childArray[i] as string) +
- childArray[i + 1]) as string;
+ childArray[i + i] =
+ ((childArray[i] as string) + childArray[i + 1]) as string;
childArray.splice(i, 1);
}
}
diff --git a/src/webex/wxBackend.ts b/src/webex/wxBackend.ts
index dd0b9168..4c9a7655 100644
--- a/src/webex/wxBackend.ts
+++ b/src/webex/wxBackend.ts
@@ -57,12 +57,14 @@ async function handleMessage(
function assertNotFound(t: never): never {
console.error(`Request type ${t as string} unknown`);
console.error(`Request detail was ${detail}`);
- return {
- error: {
- message: `request type ${t as string} unknown`,
- requestType: type,
- },
- } as never;
+ return (
+ {
+ error: {
+ message: `request type ${t as string} unknown`,
+ requestType: type,
+ },
+ } as never
+ );
}
function needsWallet(): Wallet {
if (!currentWallet) {
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [taler-wallet-core] branch master updated (95e638f5 -> 13bccc7b), gnunet, 2020/04/06
- [taler-wallet-core] 01/06: types, gnunet, 2020/04/06
- [taler-wallet-core] 03/06: auto format,
gnunet <=
- [taler-wallet-core] 04/06: make test runner work again, gnunet, 2020/04/06
- [taler-wallet-core] 05/06: package.json, gnunet, 2020/04/06
- [taler-wallet-core] 06/06: integration tests (based on Christian's auditor tests), gnunet, 2020/04/06
- [taler-wallet-core] 02/06: deps, gnunet, 2020/04/06