()
| 413 | } |
| 414 | |
| 415 | async function shouldAutoInstallUpdates(): Promise<boolean> { |
| 416 | try { |
| 417 | const config = await loadTuiConfig(); |
| 418 | return config.upgrade.autoInstall; |
| 419 | } catch { |
| 420 | return true; |
| 421 | } |
| 422 | } |
| 423 | |
| 424 | function trackUpdatePrompted( |
| 425 | track: RunUpdatePreflightOptions['track'], |
no test coverage detected