()
| 1708 | * even when the auto-updater is otherwise disabled. |
| 1709 | */ |
| 1710 | export function shouldSkipPluginAutoupdate(): boolean { |
| 1711 | return ( |
| 1712 | isAutoUpdaterDisabled() && |
| 1713 | !isEnvTruthy(process.env.FORCE_AUTOUPDATE_PLUGINS) |
| 1714 | ) |
| 1715 | } |
| 1716 | |
| 1717 | export type AutoUpdaterDisabledReason = |
| 1718 | | { type: 'development' } |
no test coverage detected