MCPcopy Create free account
hub / github.com/vercel/vercel / isAutoUpdateEnabled

Function isAutoUpdateEnabled

packages/cli/src/util/updates.ts:10–12  ·  view source on GitHub ↗
(config: GlobalConfig)

Source from the content-addressed store, hash-verified

8export { isNativeBinaryInstall };
9
10export function isAutoUpdateEnabled(config: GlobalConfig): boolean {
11 return config.updates?.auto === true;
12}
13
14export function hasAutoUpdatePreference(config: GlobalConfig): boolean {
15 return typeof config.updates?.auto === 'boolean';

Callers 3

updates.test.tsFile · 0.90
upgradeFunction · 0.90
canAutoUpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected