Skip to content

Commit e705a76

Browse files
committed
fix: revert \r\n conversion, defer to frontend
1 parent 86202b4 commit e705a76

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

worker/src/build.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@ async fn get_output_logged(
5252

5353
let mut stdout_out = vec![];
5454
while let Ok(Some(v)) = stdout_reader.next_line().await {
55-
tx.clone()
56-
.into_send_async(Message::Text(v.replace("\r\n", "\n").replace("\r", "\n")))
57-
.await?;
55+
tx.clone().into_send_async(Message::Text(v.clone())).await?;
5856
stdout_out.push(v);
5957
}
6058

0 commit comments

Comments
 (0)