Merge pull request #512 from HaveAGitGat/parser

Only check perc > 0
This commit is contained in:
HaveAGitGat 2023-10-17 05:56:44 +01:00 committed by GitHub
commit 24035bb24f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -197,7 +197,7 @@ var CLI = /** @class */ (function () {
fps: fps,
});
}
if (shouldUpdate === true && percentage > 0) {
if (percentage > 0) {
_this.updateETA(percentage);
_this.config.updateWorker({
percentage: percentage,

View file

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