MCPcopy Create free account
hub / github.com/cloudflare/agents / checkProject

Function checkProject

scripts/typecheck.ts:29–38  ·  view source on GitHub ↗
(tsconfig: string)

Source from the content-addressed store, hash-verified

27};
28
29async function checkProject(tsconfig: string): Promise<Result> {
30 try {
31 await execAsync(`tsc -p ${tsconfig}`);
32 return { tsconfig, success: true, output: "" };
33 } catch (rawError: unknown) {
34 const error = rawError as { stdout?: string; stderr?: string };
35 const output = error.stdout || error.stderr || "";
36 return { tsconfig, success: false, output };
37 }
38}
39
40// Run with concurrency limit
41const results: Result[] = [];

Callers 1

runNextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected