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 @@ -3861,8 +3861,8 @@ export class BaseClient {
3861
3861
) : Promise < GlideReturnType > {
3862
3862
const scriptInvocation = command_request . ScriptInvocation . create ( {
3863
3863
hash : script . getHash ( ) ,
3864
- keys : options ?. keys ?. map ( Buffer . from ) ,
3865
- args : options ?. args ?. map ( Buffer . from ) ,
3864
+ keys : options ?. keys ?. map ( key => Buffer . from ( key as string ) ) ,
3865
+ args : options ?. args ?. map ( arg => Buffer . from ( arg as string ) ) ,
3866
3866
} ) ;
3867
3867
return this . createScriptInvocationPromise ( scriptInvocation , options ) ;
3868
3868
}
Original file line number Diff line number Diff line change @@ -613,7 +613,7 @@ export class GlideClusterClient extends BaseClient {
613
613
command . cursor = cursor ;
614
614
615
615
if ( options ?. match ) {
616
- command . matchPattern = Buffer . from ( options . match ) ;
616
+ command . matchPattern = Buffer . from ( options . match as string ) ;
617
617
}
618
618
619
619
if ( options ?. count ) {
You can’t perform that action at this time.
0 commit comments