(filePath: string)
| 309 | } |
| 310 | |
| 311 | async function formatCSharpFile(filePath: string): Promise<void> { |
| 312 | try { |
| 313 | const projectFile = path.join(REPO_ROOT, "dotnet/src/GitHub.Copilot.SDK.csproj"); |
| 314 | await execFileAsync("dotnet", ["format", projectFile, "--include", filePath]); |
| 315 | console.log(` ✓ Formatted with dotnet format`); |
| 316 | } catch { |
| 317 | // dotnet format not available, skip |
| 318 | } |
| 319 | } |
| 320 | |
| 321 | function collectRpcMethods(node: Record<string, unknown>): RpcMethod[] { |
| 322 | const results: RpcMethod[] = []; |
no test coverage detected
searching dependent graphs…