()
| 1728 | * even when the auto-updater is otherwise disabled. |
| 1729 | */ |
| 1730 | export function shouldSkipPluginAutoupdate(): boolean { |
| 1731 | return ( |
| 1732 | isAutoUpdaterDisabled() && |
| 1733 | !isEnvTruthy(process.env.FORCE_AUTOUPDATE_PLUGINS) |
| 1734 | ) |
| 1735 | } |
| 1736 | |
| 1737 | export type AutoUpdaterDisabledReason = |
| 1738 | | { type: 'development' } |
no test coverage detected