Skip to content

Commit 4019b0b

Browse files
committed
Fix .compiler.log line split for windows
1 parent 1cd7b81 commit 4019b0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ export let parseCompilerLogOutput = (
244244
content: string[];
245245
};
246246
let parsedDiagnostics: parsedDiagnostic[] = [];
247-
let lines = content.split("\n");
247+
let lines = content.split(os.EOL);
248248
let done = false;
249249

250250
for (let i = 0; i < lines.length; i++) {

0 commit comments

Comments
 (0)