MCPcopy Create free account
hub / github.com/freecodexyz/free-code / shouldSkipPluginAutoupdate

Function shouldSkipPluginAutoupdate

src/utils/config.ts:1730–1735  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 3

buildDetailsMenuOptionsFunction · 0.85
ManageMarketplacesFunction · 0.85

Calls 2

isAutoUpdaterDisabledFunction · 0.85
isEnvTruthyFunction · 0.85

Tested by

no test coverage detected