(...notes: Array<string | undefined>)
| 90 | } |
| 91 | |
| 92 | function mergeNotes(...notes: Array<string | undefined>): string | undefined { |
| 93 | const parts = notes |
| 94 | .map((note) => (typeof note === "string" ? note.trim() : "")) |
| 95 | .filter((note) => note.length > 0); |
| 96 | |
| 97 | return parts.length > 0 ? parts.join("\n") : undefined; |
| 98 | } |
| 99 | |
| 100 | async function tryRevParseHead(params: { |
| 101 | runtime: ToolConfiguration["runtime"]; |
no outgoing calls
no test coverage detected