MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / fail

Function fail

cli/scripts/smoke-binary.ts:168–173  ·  view source on GitHub ↗
(reason: string)

Source from the content-addressed store, hash-verified

166 clearTimeout(killTimer)
167
168 const fail = (reason: string): never => {
169 console.error(`smoke-binary: FAIL — ${reason} (exit code ${earlyExitCode}).`)
170 console.error('--- captured output (truncated to 8KB) ---')
171 console.error(captured.slice(0, 8 * 1024))
172 process.exit(1)
173 }
174
175 // Negative gate first: a known fatal marker gives us a more specific error
176 // message than "no boot signal found" would. Both gates would fire on a

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected