Skip to content

Commit df228c9

Browse files
committed
nit
1 parent 2fd1585 commit df228c9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/client/lib/cluster/multi-command.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import RedisMultiCommand, { MULTI_REPLY, MultiReply, MultiReplyType, RedisMultiQ
33
import { ReplyWithTypeMapping, CommandReply, Command, CommandArguments, CommanderConfig, RedisFunctions, RedisModules, RedisScripts, RespVersions, TransformReply, RedisScript, RedisFunction, TypeMapping, RedisArgument } from '../RESP/types';
44
import { attachConfig, functionArgumentsPrefix, getTransformReply } from '../commander';
55
import RedisCluster from '.';
6-
import { BasicClusterCommandParser } from '../client/parser';
6+
import { BasicCommandParser } from '../client/parser';
77

88
type CommandSignature<
99
REPLIES extends Array<unknown>,
@@ -100,7 +100,7 @@ export default class RedisClusterMultiCommand<REPLIES = []> {
100100
let firstKey: RedisArgument | undefined;
101101

102102
if (command.parseCommand) {
103-
const parser = new BasicClusterCommandParser(resp);
103+
const parser = new BasicCommandParser(resp);
104104
command.parseCommand(parser, ...args);
105105
redisArgs = parser.redisArgs;
106106
redisArgs.preserve = parser.preserve;
@@ -131,7 +131,7 @@ export default class RedisClusterMultiCommand<REPLIES = []> {
131131
let firstKey: RedisArgument | undefined;
132132

133133
if (command.parseCommand) {
134-
const parser = new BasicClusterCommandParser(resp);
134+
const parser = new BasicCommandParser(resp);
135135
command.parseCommand(parser, ...args);
136136
redisArgs = parser.redisArgs;
137137
redisArgs.preserve = parser.preserve;
@@ -162,7 +162,7 @@ export default class RedisClusterMultiCommand<REPLIES = []> {
162162
let firstKey: RedisArgument | undefined;
163163

164164
if (fn.parseCommand) {
165-
const parser = new BasicClusterCommandParser(resp);
165+
const parser = new BasicCommandParser(resp);
166166
fn.parseCommand(parser, ...args);
167167
fnArgs = parser.redisArgs;
168168
fnArgs.preserve = parser.preserve;
@@ -196,7 +196,7 @@ export default class RedisClusterMultiCommand<REPLIES = []> {
196196
let firstKey: RedisArgument | undefined;
197197

198198
if (script.parseCommand) {
199-
const parser = new BasicClusterCommandParser(resp);
199+
const parser = new BasicCommandParser(resp);
200200
script.parseCommand(parser, ...args);
201201
scriptArgs = parser.redisArgs;
202202
scriptArgs.preserve = parser.preserve;

0 commit comments

Comments
 (0)