MCPcopy Index your code
hub / github.com/GCWing/BitFun / error

Function error

BitFun-Installer/scripts/build-installer.cjs:46–49  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

44}
45
46function error(msg) {
47 console.error(`\x1b[31m[installer]\x1b[0m ${msg}`);
48 process.exit(1);
49}
50
51function run(cmd, cwd = ROOT) {
52 log(`> ${cmd}`);

Callers 4

check_resultFunction · 0.85
send_errorMethod · 0.85
runFunction · 0.85

Calls 1

errorMethod · 0.45

Tested by

no test coverage detected