diff --git a/lib/gui/app.js b/lib/gui/app.js index e3f2ce35..6dc8ba9a 100644 --- a/lib/gui/app.js +++ b/lib/gui/app.js @@ -185,20 +185,15 @@ app.run(() => { const currentFlashState = flashState.getFlashState() - // There is usually a short time period between the `isFlashing()` + // NOTE: There is usually a short time period between the `isFlashing()` // property being set, and the flashing actually starting, which // might cause some non-sense flashing state logs including // `undefined` values. - // - // We use the presence of `.eta` to determine that the actual - // writing started. - if (!currentFlashState.eta) { - analytics.logDebug( - `Progress (${currentFlashState.type}): ` + - `${currentFlashState.percentage}% at ${currentFlashState.speed} MB/s ` + - `(eta ${currentFlashState.eta}s)` - ) - } + analytics.logDebug( + `Progress (${currentFlashState.type}): ` + + `${currentFlashState.percentage}% at ${currentFlashState.speed} MB/s ` + + `(eta ${currentFlashState.eta}s)` + ) windowProgress.set(currentFlashState) })