From ea31998ff5c9391b80ee87f6d9724a7b3efc2390 Mon Sep 17 00:00:00 2001 From: Shaya Potter Date: Tue, 23 Jul 2024 12:15:56 +0300 Subject: [PATCH] don't expan/copy rawValues, return it directly. --- packages/client/lib/commands/HSCAN_NOVALUES.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/lib/commands/HSCAN_NOVALUES.ts b/packages/client/lib/commands/HSCAN_NOVALUES.ts index bde5d846430..37a929754c6 100644 --- a/packages/client/lib/commands/HSCAN_NOVALUES.ts +++ b/packages/client/lib/commands/HSCAN_NOVALUES.ts @@ -22,6 +22,6 @@ interface HScanNoValuesReply { export function transformReply([cursor, rawData]: HScanRawReply): HScanNoValuesReply { return { cursor: Number(cursor), - keys: [...rawData] + keys: rawData }; }