Skip to content

Commit

Permalink
Merge pull request #3197 from input-output-hk/fix/lw-10658-fix-logs-d…
Browse files Browse the repository at this point in the history
…ownload-2

[LW-10658] Fix logs download
  • Loading branch information
tomislavhoracek authored Jun 3, 2024
2 parents 789ec99 + cc7735c commit cd90bdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/main/ipc/compress-logs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default () => {
const logFiles = get(logs, ['files'], []);

for (let i = 0; i < logFiles.length; i++) {
const stream = fs.readFileSync(
const stream = fs.createReadStream(
path.join(pubLogsFolderPath, logFiles[i])
);
archive.append(stream, {
Expand Down

0 comments on commit cd90bdd

Please sign in to comment.