MCPcopy Create free account
hub / github.com/di-sukharev/opencommit / n2

Function n2

out/cli.cjs:782–785  ·  view source on GitHub ↗
(s2, t2)

Source from the content-addressed store, hash-verified

780 };
781 ee = (r3) => {
782 const n2 = (s2, t2) => {
783 const i3 = s2.label ?? String(s2.value);
784 return t2 === "active" ? `${import_picocolors2.default.green(w5)} ${i3} ${s2.hint ? import_picocolors2.default.dim(`(${s2.hint})`) : ""}` : t2 === "selected" ? `${import_picocolors2.default.dim(i3)}` : t2 === "cancelled" ? `${import_picocolors2.default.strikethrough(import_picocolors2.default.dim(i3))}` : `${import_picocolors2.default.dim(S4)} ${import_picocolors2.default.dim(i3)}`;
785 };
786 return new yD({ options: r3.options, initialValue: r3.initialValue, render() {
787 const s2 = `${import_picocolors2.default.gray(a2)}
788${h2(this.state)} ${r3.message}

Callers 4

renderFunction · 0.85
$Function · 0.85
flagDescriptionMethod · 0.85
b3Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected