MCPcopy Create free account
hub / github.com/cursor/plugins / readEnvValue

Function readEnvValue

continual-learning/hooks/continual-learning-stop.ts:61–63  ·  view source on GitHub ↗
(primary: string, legacy: string)

Source from the content-addressed store, hash-verified

59}
60
61function readEnvValue(primary: string, legacy: string): string | undefined {
62 return process.env[primary] ?? process.env[legacy];
63}
64
65function loadState(): ContinuousLearningState {
66 const fallback: ContinuousLearningState = {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected