()
| 1806 | * even when the auto-updater is otherwise disabled. |
| 1807 | */ |
| 1808 | export function shouldSkipPluginAutoupdate(): boolean { |
| 1809 | return ( |
| 1810 | isAutoUpdaterDisabled() && |
| 1811 | !isEnvTruthy(process.env.FORCE_AUTOUPDATE_PLUGINS) |
| 1812 | ) |
| 1813 | } |
| 1814 | |
| 1815 | export type AutoUpdaterDisabledReason = |
| 1816 | | { type: 'development' } |
no test coverage detected