(raw: string)
| 45 | } |
| 46 | |
| 47 | export function parseToolVersion(raw: string): string { |
| 48 | const m = raw.match(/(ffmpeg|ffprobe)\s+version\s+([\d][\d.\-\w]*)/i); |
| 49 | return m ? `${m[1]} ${m[2]}` : raw.trim(); |
| 50 | } |
| 51 | |
| 52 | function configuredMissingDetail(envName: string): string | undefined { |
| 53 | const configured = process.env[envName]?.trim(); |
no outgoing calls
no test coverage detected