File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ export class RedisClientPool<
91
91
92
92
return async function ( this : NamespaceProxyPool , ...args : Array < unknown > ) {
93
93
const parser = new BasicCommandParser ( resp ) ;
94
- parser . pushVariadic ( prefix ) ;
94
+ parser . push ( ... prefix ) ;
95
95
fn . parseCommand ( parser , ...args ) ;
96
96
97
97
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<
183
183
184
184
return async function ( this : NamespaceProxyCluster , ...args : Array < unknown > ) {
185
185
const parser = new BasicCommandParser ( resp ) ;
186
- parser . pushVariadic ( prefix ) ;
186
+ parser . push ( ... prefix ) ;
187
187
fn . parseCommand ( parser , ...args ) ;
188
188
189
189
return this . _self . #execute(
@@ -201,7 +201,7 @@ export default class RedisCluster<
201
201
202
202
return async function ( this : ProxyCluster , ...args : Array < unknown > ) {
203
203
const parser = new BasicCommandParser ( resp ) ;
204
- parser . pushVariadic ( prefix ) ;
204
+ parser . push ( ... prefix ) ;
205
205
script . parseCommand ( parser , ...args ) ;
206
206
207
207
return this . _self . #execute(
You can’t perform that action at this time.
0 commit comments