Skip to content

Commit

Permalink
fixed logger in 7z
Browse files Browse the repository at this point in the history
  • Loading branch information
inlife committed Dec 12, 2024
1 parent b153a07 commit 9ce548a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nexrender-action-decompress/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const decompress = (job, settings, asset, action) => {
})

myStream.on('progress', function (progress) {
settings.logger.log(`[action-decompress] Extracting ${progress.percent}%`);
if (settings.logger) settings.logger.log(`[action-decompress] Extracting ${progress.percent}%`);
})

myStream.on('end', function () {
Expand Down

0 comments on commit 9ce548a

Please sign in to comment.