MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / maybeAddEnvLocalAutoCreate

Function maybeAddEnvLocalAutoCreate

dev/local/env-sync/plan.ts:62–69  ·  view source on GitHub ↗
(
  creates: EnvLocalAutoCreate[],
  create: EnvLocalAutoCreate
)

Source from the content-addressed store, hash-verified

60 command: 'openssl',
61 args: ['rand', '-base64', '32'],
62 };
63}
64
65function maybeAddEnvLocalAutoCreate(
66 creates: EnvLocalAutoCreate[],
67 create: EnvLocalAutoCreate
68): void {
69 if (!creates.some(existing => existing.key === create.key)) {
70 creates.push(create);
71 }
72}

Callers 1

computePlanFunction · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected