MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / getEnvVariable

Function getEnvVariable

apps/web/src/lib/dotenvx.ts:6–8  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

4 * For local development, run `vercel env pull .env.development.local` to populate environment variables.
5 */
6export function getEnvVariable(key: string): string {
7 return process.env[key] || '';
8}
9
10// Next.js inlines NEXT_PUBLIC_* at build time. Fail loudly when required
11// environment variables are missing so misconfiguration surfaces at startup.

Callers 15

token.test.tsFile · 0.90
deleteUserFromCustomerIOFunction · 0.90
PostHogClientFunction · 0.90
posthogQueryFunction · 0.90
parseTimeoutEnvFunction · 0.90
debugUtils.tsFile · 0.90
drizzle.tsFile · 0.90
getReplicaUrlFunction · 0.90
stripe-client.tsFile · 0.90
getEnvFallbackDomainsFunction · 0.90
resolveSnowflakeConfigFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected