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
This commit is contained in:
parent
6af7cde5c0
commit
33c32647a7
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue