Only check perc > 0

This commit is contained in:
HaveAGitGat 2023-10-17 05:53:33 +01:00
parent 1ba41207d3
commit 759a873c30
2 changed files with 2 additions and 2 deletions

View file

@ -212,7 +212,7 @@ class CLI {
});
}
if (shouldUpdate === true && percentage > 0) {
if (percentage > 0) {
this.updateETA(percentage);
this.config.updateWorker({
percentage,