From 6fd4c039dfe74e6ae2548111a5fb84d7264b1c4f Mon Sep 17 00:00:00 2001 From: Guian Gumpac Date: Mon, 22 Jul 2024 16:30:36 -0700 Subject: [PATCH] Revert count check Signed-off-by: Guian Gumpac --- node/src/Commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/src/Commands.ts b/node/src/Commands.ts index 1ca1e92c03..39ac12919a 100644 --- a/node/src/Commands.ts +++ b/node/src/Commands.ts @@ -1873,7 +1873,7 @@ export function createZMPop( const args: string[] = [keys.length.toString()].concat(keys); args.push(modifier); - if (count) { + if (count !== undefined) { args.push("COUNT"); args.push(count.toString()); }