From 759a873c30906b1b503692192d243c19d6c8fe69 Mon Sep 17 00:00:00 2001 From: HaveAGitGat <43864057+HaveAGitGat@users.noreply.github.com> Date: Tue, 17 Oct 2023 05:53:33 +0100 Subject: [PATCH] Only check perc > 0 --- FlowPlugins/FlowHelpers/1.0.0/cliUtils.js | 2 +- FlowPluginsTs/FlowHelpers/1.0.0/cliUtils.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/FlowPlugins/FlowHelpers/1.0.0/cliUtils.js b/FlowPlugins/FlowHelpers/1.0.0/cliUtils.js index bebffc8..5451c39 100644 --- a/FlowPlugins/FlowHelpers/1.0.0/cliUtils.js +++ b/FlowPlugins/FlowHelpers/1.0.0/cliUtils.js @@ -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, diff --git a/FlowPluginsTs/FlowHelpers/1.0.0/cliUtils.ts b/FlowPluginsTs/FlowHelpers/1.0.0/cliUtils.ts index 966f75e..ef5f302 100644 --- a/FlowPluginsTs/FlowHelpers/1.0.0/cliUtils.ts +++ b/FlowPluginsTs/FlowHelpers/1.0.0/cliUtils.ts @@ -212,7 +212,7 @@ class CLI { }); } - if (shouldUpdate === true && percentage > 0) { + if (percentage > 0) { this.updateETA(percentage); this.config.updateWorker({ percentage,