MCPcopy Create free account
hub / github.com/EvoMap/evolver / pick

Function pick

src/config.js:95–95  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

93 // fails URL validation (#580 Bug 1). `||` alone would also pick a
94 // whitespace-only override as "truthy", so trim-then-fall-through here.
95 const pick = (v) => { const t = (v == null ? '' : String(v)).trim(); return t || null; };
96 const raw = pick(process.env.A2A_HUB_URL)
97 || pick(process.env.EVOMAP_HUB_URL)
98 || pick(process.env.EVOLVER_DEFAULT_HUB_URL)

Callers 1

resolveHubUrlFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected