提交 33c32647 编写于 作者: R Rob Lourens

Fix #66953

We shouldn't trim here because this chunk can be the middle of a result line. Saw this removing spaces from the result text, resulting in a miscount later on
上级 6af7cde5
......@@ -210,7 +210,7 @@ export class RipgrepParser extends EventEmitter {
newlineIdx = dataStr.indexOf('\n', prevIdx);
}
this.remainder = dataStr.substring(prevIdx).trim();
this.remainder = dataStr.substring(prevIdx);
}
private handleLine(outputLine: string): void {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册