mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +00:00
fix(writer): Fix state verification count
Change-Type: patch
This commit is contained in:
parent
ef634227aa
commit
3424b996c8
@ -395,7 +395,7 @@ class ImageWriter extends EventEmitter {
|
||||
|
||||
this.destinations.forEach((dest) => {
|
||||
state.flashing += !dest.error && !dest.finished ? 1 : 0
|
||||
state.verifying += !dest.error && !dest.verified ? 1 : 0
|
||||
state.verifying += !dest.error && dest.finished && !dest.verified ? 1 : 0
|
||||
state.failed += dest.error ? 1 : 0
|
||||
if (!(dest.finished && dest.verified) && !dest.error) {
|
||||
state.totalSpeed += state.type === 'write'
|
||||
|
Loading…
x
Reference in New Issue
Block a user