MCPcopy
hub / github.com/codeaashu/claude-code / applyExtraCACertsFromConfig

Function applyExtraCACertsFromConfig

src/utils/caCertsConfig.ts:34–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32 * not from project-level settings.
33 */
34export function applyExtraCACertsFromConfig(): void {
35 if (process.env.NODE_EXTRA_CA_CERTS) {
36 return // Already set in environment, nothing to do
37 }
38 const configPath = getExtraCertsPathFromConfig()
39 if (configPath) {
40 process.env.NODE_EXTRA_CA_CERTS = configPath
41 logForDebugging(
42 `CA certs: Applied NODE_EXTRA_CA_CERTS from config to process.env: ${configPath}`,
43 )
44 }
45}
46
47/**
48 * Read NODE_EXTRA_CA_CERTS from settings/config as a fallback.

Callers 1

init.tsFile · 0.85

Calls 2

logForDebuggingFunction · 0.85

Tested by

no test coverage detected