MCPcopy Index your code
hub / github.com/AutoForgeAI/autoforge / die

Function die

lib/cli.js:68–71  ·  view source on GitHub ↗

Print a fatal error and exit.

(msg)

Source from the content-addressed store, hash-verified

66
67/** Print a fatal error and exit. */
68function die(msg) {
69 console.error(`\n Error: ${msg}\n`);
70 process.exit(1);
71}
72
73/**
74 * Parse a Python version string like "Python 3.13.6" and return

Callers 4

findPythonFunction · 0.85
ensureVenvFunction · 0.85
findAvailablePortFunction · 0.85
runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected