(stdout: string)
| 221 | } |
| 222 | |
| 223 | export function parseSemVersion(stdout: string): string | null { |
| 224 | const match = stdout.trim().match(/^sem\s+([0-9]+(?:\.[0-9]+){1,3}(?:[-+][^\s]+)?)/); |
| 225 | return match?.[1] ?? null; |
| 226 | } |
| 227 | |
| 228 | async function resolveSem(runtime: SemanticDiffRuntime): Promise<ResolvedSem | SemResolveFailure> { |
| 229 | for (const candidate of semCandidates(runtime)) { |
no outgoing calls
no test coverage detected