MCPcopy
hub / github.com/colbymchenry/codegraph / fail

Function fail

scripts/add-lang/dump-ast.mjs:21–21  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

19
20const require = createRequire(import.meta.url);
21const fail = (msg) => { console.error(`[dump-ast] ${msg}`); process.exit(1); };
22
23const argv = process.argv.slice(2);
24const positional = argv.filter((a) => !a.startsWith('--'));

Callers 2

dump-ast.mjsFile · 0.70
resolveWasmFunction · 0.70

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected