mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-01-31 00:24:15 +00:00
30663b0301
If `updateCheckInterval` has any meanginful value, the alert will be shown one out of ten times, or something like that, making the user likely to miss updates. The underlying issue is that `update-notifier`, if it detects a cached update notification, it deletes it, and only attempts to show it back if `updateCheckInterval` is greater than `Date.now() - lastUpdateCheck`.