Skip to content

Commit e123588

Browse files
#RI-3742-parse commands
1 parent a783526 commit e123588

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

redisinsight/api/src/modules/workbench/providers/workbench-commands.executor.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,12 @@ export class WorkbenchCommandsExecutor {
6969
nodeOptions,
7070
mode,
7171
} = dto;
72-
73-
const [command, ...commandArgs] = splitCliCommandLine(commandLine);
72+
let command = commandLine;
7473

7574
try {
75+
const [parsedCommand, ...commandArgs] = splitCliCommandLine(commandLine);
76+
command = parsedCommand;
77+
7678
if (nodeOptions) {
7779
result = [await this.sendCommandForSingleNode(
7880
clientOptions,

0 commit comments

Comments
 (0)