MCPcopy Create free account
hub / github.com/ShipSecAI/studio / isVersionCheckDisabled

Function isVersionCheckDisabled

backend/src/version-check.ts:38–42  ·  view source on GitHub ↗
(env: NodeJS.ProcessEnv = process.env)

Source from the content-addressed store, hash-verified

36}
37
38export function isVersionCheckDisabled(env: NodeJS.ProcessEnv = process.env) {
39 const value = env.SHIPSEC_VERSION_CHECK_DISABLED;
40 if (!value) return false;
41 return ['1', 'true', 'yes'].includes(value.toLowerCase());
42}
43
44export async function performVersionCheck(
45 overrides: Partial<VersionCheckMetadata> = {},

Callers 2

enforceVersionCheckFunction · 0.90
mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected