Skip to content

Commit f3b3fe5

Browse files
committed
run tests on all versions, remove console.log, fix bug
1 parent eca318f commit f3b3fe5

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

packages/client/lib/client/index.spec.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -610,18 +610,14 @@ describe('Client', () => {
610610
.hGetAll('key')
611611
.exec(),
612612
err => {
613-
console.log(err);
614613
assert.ok(err instanceof MultiErrorReply);
615614
assert.equal(err.replies.length, 2);
616615
assert.deepEqual(err.errorIndexes, [1]);
617616
assert.ok(err.replies[1] instanceof ErrorReply);
618617
return true;
619618
}
620619
);
621-
}, {
622-
...GLOBAL.SERVERS.OPEN,
623-
minimumDockerVersion: [6, 2] // CLIENT INFO
624-
});
620+
}, GLOBAL.SERVERS.OPEN);
625621
});
626622

627623
testUtils.testWithClient('scripts', async client => {

packages/client/lib/multi-command.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ export default class RedisMultiCommand {
8383
replies = rawReplies.map((reply, i) => {
8484
if (reply instanceof ErrorReply) {
8585
errorIndexes.push(i);
86+
return reply;
8687
}
8788
const { transformReply, args } = this.queue[i];
8889
return transformReply ? transformReply(reply, args.preserve) : reply;

0 commit comments

Comments
 (0)