MCPcopy
hub / github.com/graphql/graphql-spec / die

Function die

scripts/generate-contributor-list.mjs:13–13  ·  view source on GitHub ↗
(msg, code = 1)

Source from the content-addressed store, hash-verified

11const sleep = (ms) => new Promise((r) => setTimeout(r, ms));
12const toLower = (s) => (s || "").toLowerCase();
13function die(msg, code = 1) { console.error(msg); process.exit(code) }
14
15function normalizeName(s) {
16 return (s || "")

Callers 5

parseArgsFunction · 0.85
execGitFunction · 0.85
repoNameWithOwnerFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected