MCPcopy Create free account
hub / github.com/HKUDS/AgentSpace / signalExitCode

Function signalExitCode

scripts/feishu/run-db-tests.mjs:311–319  ·  view source on GitHub ↗
(signal)

Source from the content-addressed store, hash-verified

309}
310
311function signalExitCode(signal) {
312 if (signal === "SIGINT") {
313 return 130;
314 }
315 if (signal === "SIGTERM") {
316 return 143;
317 }
318 return 1;
319}
320
321main().catch((error) => {
322 console.error(errorMessage(error));

Callers 2

mainFunction · 0.85
runTestFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected