diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-03-16 10:22:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-16 10:22:16 +0100 |
commit | 1edb20b399944c6eec1d7c555ab170b6dd276840 (patch) | |
tree | 00be05e4ff944cc1db67a44d8f9a47f197c7e7bc /cli/js/ops/worker_host.ts | |
parent | 70434b5bfba701f9de2221b64ee40262c5370ae0 (diff) |
refactor: add no-return-await lint rule (#4384)
Diffstat (limited to 'cli/js/ops/worker_host.ts')
-rw-r--r-- | cli/js/ops/worker_host.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/js/ops/worker_host.ts b/cli/js/ops/worker_host.ts index a409d2c77..1a7e671f4 100644 --- a/cli/js/ops/worker_host.ts +++ b/cli/js/ops/worker_host.ts @@ -25,5 +25,5 @@ export function hostPostMessage(id: number, data: Uint8Array): void { } export async function hostGetMessage(id: number): Promise<any> { - return await sendAsync("op_host_get_message", { id }); + return sendAsync("op_host_get_message", { id }); } |