From 77308ed670d99fe6440d2f5ab9e7d2ac4c4c7cd0 Mon Sep 17 00:00:00 2001 From: Leibale Date: Tue, 3 Oct 2023 13:24:00 -0400 Subject: [PATCH] fix for last commit --- packages/search/lib/commands/CONFIG_GET.ts | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/packages/search/lib/commands/CONFIG_GET.ts b/packages/search/lib/commands/CONFIG_GET.ts index 72f1ce96c8..f96461e869 100644 --- a/packages/search/lib/commands/CONFIG_GET.ts +++ b/packages/search/lib/commands/CONFIG_GET.ts @@ -16,21 +16,3 @@ export default { return transformedReply; } } as const satisfies Command; - - -export function transformArguments(option: string) { - return ['FT.CONFIG', 'GET', option]; -} - -interface ConfigGetReply { - [option: string]: string | null; -} - -export function transformReply(rawReply: Array<[string, string | null]>): ConfigGetReply { - const transformedReply: ConfigGetReply = Object.create(null); - for (const [key, value] of rawReply) { - transformedReply[key] = value; - } - - return transformedReply; -}