MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / ambientEnv

Function ambientEnv

packages/core/api/src/update-check.ts:169–174  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

167// isomorphic (it is pulled into the browser-side type graph via the shared web
168// shell's update card, which has no node types).
169const ambientEnv = (): Record<string, string | undefined> => {
170 const globalProcess = (
171 globalThis as { readonly process?: { readonly env?: Record<string, string | undefined> } }
172 ).process;
173 return globalProcess?.env ?? {};
174};
175
176/** Reset the in-process registry cache. Test seam. */
177export const __resetDistTagsCache = (): void => {

Callers 1

resolveDistTagsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected