Просмотр исходного кода

Stop removing commas from terminal output

Matt Rubens 10 месяцев назад
Родитель
Сommit
5c5bf85020
2 измененных файлов с 5 добавлено и 3 удалено
  1. 5 0
      .changeset/sour-parents-hug.md
  2. 0 3
      src/integrations/terminal/TerminalProcess.ts

+ 5 - 0
.changeset/sour-parents-hug.md

@@ -0,0 +1,5 @@
+---
+"roo-cline": patch
+---
+
+Stop removing commas from terminal output

+ 0 - 3
src/integrations/terminal/TerminalProcess.ts

@@ -110,9 +110,6 @@ export class TerminalProcess extends EventEmitter<TerminalProcessEvents> {
 					data = lines.join("\n")
 				}
 
-				// FIXME: right now it seems that data chunks returned to us from the shell integration stream contains random commas, which from what I can tell is not the expected behavior. There has to be a better solution here than just removing all commas.
-				data = data.replace(/,/g, "")
-
 				// 2. Set isHot depending on the command
 				// Set to hot to stall API requests until terminal is cool again
 				this.isHot = true