Skip to content

Commit acc94fe

Browse files
committed
Changes to how lines are split
1 parent 77f62d6 commit acc94fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/client/providers/jediProxy.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ function spawnProcess(dir: string) {
195195
var dataStr = previousData = previousData + data + ""
196196
var responses: any[];
197197
try {
198-
responses = dataStr.split("\n").filter(line => line.length > 0).map(resp => JSON.parse(resp));
198+
responses = dataStr.split(/\r?\n/g).filter(line => line.length > 0).map(resp => JSON.parse(resp));
199199
previousData = "";
200200
}
201201
catch (ex) {

0 commit comments

Comments
 (0)