MCPcopy
hub / github.com/RetireJS/retire.js / exitWithError

Function exitWithError

repository/test-detection.js:81–84  ·  view source on GitHub ↗
(...msg)

Source from the content-addressed store, hash-verified

79}
80
81function exitWithError(...msg) {
82 failure(...msg);
83 process.exit(1);
84}
85const colors = {
86 Reset: "\x1b[0m",
87 Green: "\x1b[32m",

Callers 1

runTestsFunction · 0.70

Calls 1

failureFunction · 0.85

Tested by

no test coverage detected