Skip to content

Commit 94a31ea

Browse files
Trim lines received via stdout before parsing them
1 parent 31eb7ab commit 94a31ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/omnisharp/server.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,8 @@ export class OmniSharpServer {
496496
}
497497

498498
private _onLineReceived(line: string) {
499+
line = line.trim();
500+
499501
if (line[0] !== '{') {
500502
this._logger.appendLine(line);
501503
return;

0 commit comments

Comments
 (0)