MCPcopy
hub / github.com/di-sukharev/opencommit / W2

Function W2

out/cli.cjs:65213–65215  ·  view source on GitHub ↗
(t2)

Source from the content-addressed store, hash-verified

65211 const { name: i3, required: s2, spread: o3 } = e3[a4], l3 = S2(i3);
65212 if (l3 in t2) throw new Error(`Invalid parameter: ${d3(i3)} is used more than once.`);
65213 const f4 = o3 ? r3.slice(a4) : r3[a4];
65214 if (o3 && (a4 = e3.length), s2 && (!f4 || o3 && f4.length === 0)) return console.error(`Error: Missing required parameter ${d3(i3)}
65215`), n2(), process.exit(1);
65216 t2[l3] = f4;
65217 }
65218}

Callers 1

x2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected