(state: UpdateInstallState, target: UpdateTarget)
| 328 | } |
| 329 | |
| 330 | function failureAttemptsFor(state: UpdateInstallState, target: UpdateTarget): number { |
| 331 | return state.lastFailure?.version === target.version ? state.lastFailure.attempts : 0; |
| 332 | } |
| 333 | |
| 334 | function hasFreshActiveInstall(state: UpdateInstallState, target: UpdateTarget): boolean { |
| 335 | const active = state.active; |
no outgoing calls
no test coverage detected