diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-09-01 19:07:14 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-09-01 19:07:14 +0530 |
commit | bb369f2e2ab7838751ce9aae2e23622be1391586 (patch) | |
tree | 3fca0a5d7047b1f38ec230657e0c8f0c0cc891e0 /packages/taler-wallet-core/src/operations/state.ts | |
parent | 8c33e05bf08976403719a17b1faf424109a7eaa5 (diff) | |
download | wallet-core-bb369f2e2ab7838751ce9aae2e23622be1391586.tar.gz wallet-core-bb369f2e2ab7838751ce9aae2e23622be1391586.tar.bz2 wallet-core-bb369f2e2ab7838751ce9aae2e23622be1391586.zip |
auto-format
Diffstat (limited to 'packages/taler-wallet-core/src/operations/state.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/state.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/state.ts b/packages/taler-wallet-core/src/operations/state.ts index 131e9083d..c4d5b38f1 100644 --- a/packages/taler-wallet-core/src/operations/state.ts +++ b/packages/taler-wallet-core/src/operations/state.ts @@ -82,7 +82,7 @@ export class InternalWalletState { */ async runSequentialized<T>(tokens: string[], f: () => Promise<T>) { // Make sure locks are always acquired in the same order - tokens = [... tokens].sort(); + tokens = [...tokens].sort(); for (const token of tokens) { if (this.resourceLocks.has(token)) { |