From 6d804af91acf597e0ef0decc4b5953c0f64f8e6d Mon Sep 17 00:00:00 2001 From: Eric Doughty-Papassideris Date: Wed, 27 Mar 2024 11:59:52 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20CLI=20bugfix:=20Missing=20await?= =?UTF-8?q?=20statement=20(#438)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tdrive/backend/node/src/cli/cmds/search_cmds/index_all.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tdrive/backend/node/src/cli/cmds/search_cmds/index_all.ts b/tdrive/backend/node/src/cli/cmds/search_cmds/index_all.ts index d0b89a79..42975677 100644 --- a/tdrive/backend/node/src/cli/cmds/search_cmds/index_all.ts +++ b/tdrive/backend/node/src/cli/cmds/search_cmds/index_all.ts @@ -323,8 +323,9 @@ const command: yargs.CommandModule = { const filterDocumentsByUserEMail = parseYargsCommaSeparatedStringArray( argv.filterDocumentsByUserEMail as string /* ignore typechecker */, ); - runWithPlatform("Re-index", async ({ spinner, platform }) => { + await runWithPlatform("Re-index", async ({ spinner, platform }) => { try { + logger.level = "debug"; for (const repositoryName of repositories) await RepositoryNameToCTOR.get(repositoryName)(platform, { spinner,