summaryrefslogtreecommitdiff
path: root/cli/js/ops/repl.ts
diff options
context:
space:
mode:
authorSamrith Shankar <samrith-s@users.noreply.github.com>2020-03-20 14:38:34 +0100
committerGitHub <noreply@github.com>2020-03-20 09:38:34 -0400
commit798904b0f2ed0c7284b67bba2f125f406b5850de (patch)
tree5aba8d35aa8984aa778c894258bcaed56f1ce17c /cli/js/ops/repl.ts
parent35f6e2e45ddb96524a6bdf54b0a6155caa88d5e0 (diff)
Add require-await lint rule (#4401)
Diffstat (limited to 'cli/js/ops/repl.ts')
-rw-r--r--cli/js/ops/repl.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/js/ops/repl.ts b/cli/js/ops/repl.ts
index 3f40f4456..1781aa089 100644
--- a/cli/js/ops/repl.ts
+++ b/cli/js/ops/repl.ts
@@ -6,6 +6,6 @@ export function startRepl(historyFile: string): number {
return sendSync("op_repl_start", { historyFile });
}
-export async function readline(rid: number, prompt: string): Promise<string> {
+export function readline(rid: number, prompt: string): Promise<string> {
return sendAsync("op_repl_readline", { rid, prompt });
}