Skip to content

Commit 77308ed

Browse files
committed
fix for last commit
1 parent ab34898 commit 77308ed

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

packages/search/lib/commands/CONFIG_GET.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,3 @@ export default {
1616
return transformedReply;
1717
}
1818
} as const satisfies Command;
19-
20-
21-
export function transformArguments(option: string) {
22-
return ['FT.CONFIG', 'GET', option];
23-
}
24-
25-
interface ConfigGetReply {
26-
[option: string]: string | null;
27-
}
28-
29-
export function transformReply(rawReply: Array<[string, string | null]>): ConfigGetReply {
30-
const transformedReply: ConfigGetReply = Object.create(null);
31-
for (const [key, value] of rawReply) {
32-
transformedReply[key] = value;
33-
}
34-
35-
return transformedReply;
36-
}

0 commit comments

Comments
 (0)