MCPcopy
hub / github.com/vercel/next.js / getEnvInfo

Function getEnvInfo

packages/next/src/server/lib/app-info-log.ts:119–122  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

117 * Gets environment info for logging. Fast operation that doesn't require config.
118 */
119export function getEnvInfo(dir: string): string[] {
120 const { loadedEnvFiles } = loadEnvConfig(dir, true, console, false)
121 return loadedEnvFiles.map((f) => f.path)
122}

Callers 1

startServerFunction · 0.90

Calls 2

loadEnvConfigFunction · 0.90
mapMethod · 0.45

Tested by

no test coverage detected