File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -610,18 +610,14 @@ describe('Client', () => {
610
610
. hGetAll ( 'key' )
611
611
. exec ( ) ,
612
612
err => {
613
- console . log ( err ) ;
614
613
assert . ok ( err instanceof MultiErrorReply ) ;
615
614
assert . equal ( err . replies . length , 2 ) ;
616
615
assert . deepEqual ( err . errorIndexes , [ 1 ] ) ;
617
616
assert . ok ( err . replies [ 1 ] instanceof ErrorReply ) ;
618
617
return true ;
619
618
}
620
619
) ;
621
- } , {
622
- ...GLOBAL . SERVERS . OPEN ,
623
- minimumDockerVersion : [ 6 , 2 ] // CLIENT INFO
624
- } ) ;
620
+ } , GLOBAL . SERVERS . OPEN ) ;
625
621
} ) ;
626
622
627
623
testUtils . testWithClient ( 'scripts' , async client => {
Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ export default class RedisMultiCommand {
83
83
replies = rawReplies . map ( ( reply , i ) => {
84
84
if ( reply instanceof ErrorReply ) {
85
85
errorIndexes . push ( i ) ;
86
+ return reply ;
86
87
}
87
88
const { transformReply, args } = this . queue [ i ] ;
88
89
return transformReply ? transformReply ( reply , args . preserve ) : reply ;
You can’t perform that action at this time.
0 commit comments