Skip to content

Commit 41bd136

Browse files
authored
fix encodeCommand
1 parent f55de0e commit 41bd136

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎packages/client/lib/commander.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ export function* encodeCommand(args: RedisCommandArguments): IterableIterator<st
111111
}
112112
} else {
113113
yield strings;
114+
strings = '';
114115
stringsLength = 0;
115116
yield arg;
116117
}

0 commit comments

Comments
 (0)