Skip to content

Commit cd90bdd

Browse files
Merge pull request #3197 from input-output-hk/fix/lw-10658-fix-logs-download-2
[LW-10658] Fix logs download
2 parents 789ec99 + cc7735c commit cd90bdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/main/ipc/compress-logs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export default () => {
4444
const logFiles = get(logs, ['files'], []);
4545

4646
for (let i = 0; i < logFiles.length; i++) {
47-
const stream = fs.readFileSync(
47+
const stream = fs.createReadStream(
4848
path.join(pubLogsFolderPath, logFiles[i])
4949
);
5050
archive.append(stream, {

0 commit comments

Comments
 (0)