Connection Buffer: Replace \r in run and score output with \n

This commit is contained in:
Sebastian Serth
2021-10-31 14:34:55 +01:00
parent 1e7cf1c622
commit 6ff14d6fc7
2 changed files with 5 additions and 2 deletions

View File

@ -175,7 +175,6 @@ CodeOceanEditorEvaluation = {
if (!msg.data || msg.data === "\r") {
return;
}
msg.data = msg.data.replace(/(\r)/gm, "\n");
var stream = {};
stream[msg.stream] = msg.data;
this.printOutput(stream, true, 0);