Skip to content

Commit 41bd136

Browse files
authored
fix encodeCommand
1 parent f55de0e commit 41bd136

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)