MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / fail

Function fail

apps/kimi-code/scripts/native/exec.mjs:23–26  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

21}
22
23export function fail(message) {
24 console.error(message);
25 process.exit(1);
26}
27
28export async function run(command, args, options = {}) {
29 const exec = commandForExecFile(command, args);

Callers 3

ensureBundleExistsFunction · 0.90
ensureBlobExistsFunction · 0.90
runFunction · 0.70

Calls 2

errorMethod · 0.65
exitMethod · 0.65

Tested by

no test coverage detected