MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / fail

Function fail

scripts/check-ui-build.mjs:40–44  ·  view source on GitHub ↗
(message, hint)

Source from the content-addressed store, hash-verified

38const indexHtml = join(viewerDir, 'index.html');
39
40function fail(message, hint) {
41 console.error(`[check-ui-build] ${message}`);
42 if (hint) console.error(`[check-ui-build] ${hint}`);
43 process.exit(1);
44}
45
46if (!existsSync(indexHtml)) {
47 fail(

Callers 1

check-ui-build.mjsFile · 0.70

Calls 2

exitMethod · 0.80
errorMethod · 0.65

Tested by

no test coverage detected