From 9fdcb130f31eebf4427185ea0e982f061919ff81 Mon Sep 17 00:00:00 2001 From: Henry Ball Date: Mon, 9 Dec 2024 10:51:04 -0800 Subject: [PATCH] don't try to use js completions --- src/commands/shell.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/shell.mjs b/src/commands/shell.mjs index 78f20285..391b008f 100644 --- a/src/commands/shell.mjs +++ b/src/commands/shell.mjs @@ -21,11 +21,11 @@ async function shellCommand(argv) { /** @type {import('node:repl').ReplOptions} */ const replArgs = { - prompt: `${argv.db_path || ""}> `, + prompt: `${argv.database || ""}> `, ignoreUndefined: true, preview: argv.apiVersion !== "10", // TODO: integrate with fql-analyzer for completions - completer: argv.apiVersion === "10" ? () => [] : undefined, + completer: () => [], output: container.resolve("stdoutStream"), input: container.resolve("stdinStream"), eval: await buildCustomEval(argv),