aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/crypto/workers/nodeThreadWorker.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-06-09 15:26:18 +0200
committerFlorian Dold <florian@dold.me>2021-06-09 15:26:18 +0200
commit3d2b7b2a65787858c9471bc48cc5860c07b7f7dc (patch)
tree4a7477c184de7408104b8bf254a277a5949b19de /packages/taler-wallet-core/src/crypto/workers/nodeThreadWorker.ts
parent5c26461247040c07c86291babf0c87631df638b5 (diff)
downloadwallet-core-3d2b7b2a65787858c9471bc48cc5860c07b7f7dc.tar.xz
formatting: re-run prettier
Diffstat (limited to 'packages/taler-wallet-core/src/crypto/workers/nodeThreadWorker.ts')
-rw-r--r--packages/taler-wallet-core/src/crypto/workers/nodeThreadWorker.ts8
1 files changed, 5 insertions, 3 deletions
diff --git a/packages/taler-wallet-core/src/crypto/workers/nodeThreadWorker.ts b/packages/taler-wallet-core/src/crypto/workers/nodeThreadWorker.ts
index 37b93abe4..453a46945 100644
--- a/packages/taler-wallet-core/src/crypto/workers/nodeThreadWorker.ts
+++ b/packages/taler-wallet-core/src/crypto/workers/nodeThreadWorker.ts
@@ -92,8 +92,10 @@ export function handleWorkerMessage(msg: any): void {
try {
const result = (impl as any)[operation](...args);
// eslint-disable-next-line @typescript-eslint/no-var-requires
- const _r = "require"
- const worker_threads: typeof import("worker_threads") = module[_r]("worker_threads");
+ const _r = "require";
+ const worker_threads: typeof import("worker_threads") = module[_r](
+ "worker_threads",
+ );
// const worker_threads = require("worker_threads");
const p = worker_threads.parentPort;
@@ -149,7 +151,7 @@ class NodeThreadCryptoWorker implements CryptoWorker {
constructor() {
// eslint-disable-next-line @typescript-eslint/no-var-requires
- const _r = "require"
+ const _r = "require";
const worker_threads = module[_r]("worker_threads");
logger.trace("starting node crypto worker");