We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2d7a95d + 7e05bb9 commit fc0da82Copy full SHA for fc0da82
src/main/java/com/dtsx/astra/cli/commands/db/cqlsh/CqlshStartImpl.java
@@ -105,7 +105,7 @@ private String readStdin() {
105
106
while ((line = reader.readLine()) != null) {
107
if (line.trim().endsWith("\\")) {
108
- sb.append(line, 0, line.lastIndexOf('\\') - 1); // TODO this should not be -1
+ sb.append(line.substring(0, line.lastIndexOf('\\')).stripTrailing());
109
sb.append(NL);
110
} else {
111
sb.append(line);
0 commit comments