summaryrefslogtreecommitdiff
path: root/cli/js/workers.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/workers.ts')
-rw-r--r--cli/js/workers.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/cli/js/workers.ts b/cli/js/workers.ts
index 281fe619f..37061063f 100644
--- a/cli/js/workers.ts
+++ b/cli/js/workers.ts
@@ -65,7 +65,6 @@ export function postMessage(data: any): void {
export async function getMessage(): Promise<any> {
log("getMessage");
const res = await sendAsync(dispatch.OP_WORKER_GET_MESSAGE);
-
if (res.data != null) {
return decodeMessage(new Uint8Array(res.data));
} else {