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

Function fail

scripts/regression/gate.mjs:117–117  ·  view source on GitHub ↗
(check, project, what)

Source from the content-addressed store, hash-verified

115const failures = [];
116const notes = [];
117const fail = (check, project, what) => failures.push({ check, project, what });
118const run = (command, commandArgs, options = {}) =>
119 spawnSync(command, commandArgs, { encoding: 'utf8', maxBuffer: 2 ** 30, ...options, env: { ...env, ...(options.env ?? {}) } });
120const folders = (dir) => (existsSync(dir) ? readdirSync(dir).filter((name) => statSync(join(dir, name)).isDirectory()).sort() : []);

Callers 2

growthFunction · 0.70
gate.mjsFile · 0.70

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected