File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ export default class RedisClient<
178178
179179 return async function ( this : NamespaceProxyClient , ...args : Array < unknown > ) {
180180 const parser = new BasicCommandParser ( resp ) ;
181- parser . pushVariadic ( prefix ) ;
181+ parser . push ( ... prefix ) ;
182182 fn . parseCommand ( parser , ...args ) ;
183183
184184 return this . _self . _executeCommand ( parser , this . _self . _commandOptions , transformReply ) ;
@@ -191,7 +191,7 @@ export default class RedisClient<
191191
192192 return async function ( this : ProxyClient , ...args : Array < unknown > ) {
193193 const parser = new BasicCommandParser ( resp ) ;
194- parser . pushVariadic ( prefix ) ;
194+ parser . push ( ... prefix ) ;
195195 script . parseCommand ( parser , ...args )
196196
197197 return this . _executeScript ( script , parser , this . _commandOptions , transformReply ) ;
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(
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ export function createFunctionCommand<T extends NamespaceProxySentinel | Namespa
5757
5858 return async function ( this : T , ...args : Array < unknown > ) {
5959 const parser = new BasicCommandParser ( resp ) ;
60- parser . pushVariadic ( prefix ) ;
60+ parser . push ( ... prefix ) ;
6161 fn . parseCommand ( parser , ...args ) ;
6262
6363 return this . _self . _execute (
@@ -87,7 +87,7 @@ export function createScriptCommand<T extends ProxySentinel | ProxySentinelClien
8787
8888 return async function ( this : T , ...args : Array < unknown > ) {
8989 const parser = new BasicCommandParser ( resp ) ;
90- parser . pushVariadic ( prefix ) ;
90+ parser . push ( ... prefix ) ;
9191 script . parseCommand ( parser , ...args ) ;
9292
9393 return this . _self . _execute (
You can’t perform that action at this time.
0 commit comments