MCPcopy
hub / github.com/google-labs-code/design.md / fail

Function fail

packages/cli/scripts/check-package.ts:44–48  ·  view source on GitHub ↗
(label: string, detail?: string)

Source from the content-addressed store, hash-verified

42}
43
44function fail(label: string, detail?: string) {
45 console.error(` ❌ ${label}`);
46 if (detail) console.error(` → ${detail}`);
47 failed++;
48}
49
50function check(label: string, ok: boolean, detail?: string) {
51 if (ok) pass(label);

Callers 4

checkFunction · 0.85
phase1_configFunction · 0.85
phase2Function · 0.85
phase3Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…