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

Function fail

scripts/check-ui-package.mjs:55–58  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

53const RESOLVES = ['.js', '.mjs', '.cjs', '.json', '.css', '.svg', '.png'];
54
55const fail = (message) => {
56 console.error(`[check-ui-package] ${message}`);
57 process.exitCode = 1;
58};
59
60if (!existsSync(DIST)) {
61 fail(`no ${relative(UI, DIST)} — run \`npm run build:lib -w ui\``);

Callers 1

Calls 1

errorMethod · 0.65

Tested by

no test coverage detected