MCPcopy Create free account
hub / github.com/getsentry/XcodeBuildMCP / normalizeWorkflows

Function normalizeWorkflows

scripts/build-website-manifest.mjs:71–81  ·  view source on GitHub ↗
(raw)

Source from the content-addressed store, hash-verified

69}
70
71function normalizeWorkflows(raw) {
72 return raw
73 .map((w) => ({
74 id: w.id,
75 title: w.title ?? w.id,
76 description: w.description ?? "",
77 defaultEnabled: Boolean(w.selection?.mcp?.defaultEnabled),
78 tools: Array.isArray(w.tools) ? w.tools : [],
79 }))
80 .sort((a, b) => a.id.localeCompare(b.id));
81}
82
83async function main() {
84 const args = parseArgs(process.argv.slice(2));

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected