File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ export class RedisClientPool<
9191
9292 return async function ( this : NamespaceProxyPool , ...args : Array < unknown > ) {
9393 const parser = new BasicCommandParser ( resp ) ;
94- parser . pushVariadic ( prefix ) ;
94+ parser . push ( ... prefix ) ;
9595 fn . parseCommand ( parser , ...args ) ;
9696
9797 return this . _self . execute ( client => client . _executeCommand ( parser , this . _self . _commandOptions , transformReply ) ) } ;
Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ export default class RedisCluster<
183183
184184 return async function ( this : NamespaceProxyCluster , ...args : Array < unknown > ) {
185185 const parser = new BasicCommandParser ( resp ) ;
186- parser . pushVariadic ( prefix ) ;
186+ parser . push ( ... prefix ) ;
187187 fn . parseCommand ( parser , ...args ) ;
188188
189189 return this . _self . #execute(
@@ -201,7 +201,7 @@ export default class RedisCluster<
201201
202202 return async function ( this : ProxyCluster , ...args : Array < unknown > ) {
203203 const parser = new BasicCommandParser ( resp ) ;
204- parser . pushVariadic ( prefix ) ;
204+ parser . push ( ... prefix ) ;
205205 script . parseCommand ( parser , ...args ) ;
206206
207207 return this . _self . #execute(
You can’t perform that action at this time.
0 commit comments