MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getCertEnvVarTelemetry

Function getCertEnvVarTelemetry

src/main.tsx:291–306  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

289 }).catch(err => logError(err));
290}
291function getCertEnvVarTelemetry(): Record<string, boolean> {
292 const result: Record<string, boolean> = {};
293 if (process.env.NODE_EXTRA_CA_CERTS) {
294 result.has_node_extra_ca_certs = true;
295 }
296 if (process.env.CLAUDE_CODE_CLIENT_CERT) {
297 result.has_client_cert = true;
298 }
299 if (hasNodeOption('--use-system-ca')) {
300 result.has_use_system_ca = true;
301 }
302 if (hasNodeOption('--use-openssl-ca')) {
303 result.has_use_openssl_ca = true;
304 }
305 return result;
306}
307async function logStartupTelemetry(): Promise<void> {
308 if (isAnalyticsDisabled()) return;
309 const [isGit, worktreeCount, ghAuthStatus] = await Promise.all([getIsGit(), getWorktreeCount(), getGhAuthStatus()]);

Callers 1

logStartupTelemetryFunction · 0.85

Calls 1

hasNodeOptionFunction · 0.85

Tested by

no test coverage detected