Skip to content

Commit

Permalink
Revert count check
Browse files Browse the repository at this point in the history
Signed-off-by: Guian Gumpac <guian.gumpac@improving.com>
  • Loading branch information
GumpacG committed Jul 22, 2024
1 parent 5abc585 commit 6fd4c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/src/Commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit 6fd4c03

Please sign in to comment.