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

Function fail

apps/kimi-code/scripts/native/package.mjs:21–24  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

19const checksumPath = `${artifactPath}.sha256`;
20
21function fail(message) {
22 console.error(message);
23 process.exit(1);
24}
25
26async function sha256(path) {
27 return await new Promise((resolveHash, reject) => {

Callers 1

package.mjsFile · 0.70

Calls 2

errorMethod · 0.65
exitMethod · 0.65

Tested by

no test coverage detected