Skip to content

Commit 6724e80

Browse files
committed
Fix file download issues
1 parent 289b597 commit 6724e80

File tree

3 files changed

+148
-78
lines changed

3 files changed

+148
-78
lines changed

js/common/repl-file-transfer.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ class FileTransferClient {
3535
if (contents === null) {
3636
return raw ? null : "";
3737
}
38+
if (raw) {
39+
return contents;
40+
}
3841
return contents.replaceAll("\r\n", "\n");
3942
}
4043

0 commit comments

Comments
 (0)