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

Function normalizeNodeSecretEnvSuppression

src/proxy/lifecycle/manager.js:439–445  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

437}
438
439function normalizeNodeSecretEnvSuppression(value) {
440 const raw = String(value || '').trim();
441 if (!raw) return null;
442 if (truthyState(raw)) return 'true';
443 const lower = raw.toLowerCase();
444 return NODE_SECRET_SUPPRESSION_RE.test(lower) ? lower : null;
445}
446
447class LifecycleManager {
448 constructor({ hubUrl, store, logger, getTaskMeta } = {}) {

Callers 2

constructorMethod · 0.85

Calls 1

truthyStateFunction · 0.85

Tested by

no test coverage detected