(output: string)
| 130 | } |
| 131 | |
| 132 | function parseXcodeVersionOutput(output: string): { |
| 133 | version?: string; |
| 134 | buildVersion?: string; |
| 135 | } { |
| 136 | const versionMatch = output.match(XCODE_VERSION_PATTERN); |
| 137 | const buildMatch = output.match(XCODE_BUILD_PATTERN); |
| 138 | return { |
| 139 | version: versionMatch?.[1]?.trim(), |
| 140 | buildVersion: buildMatch?.[1]?.trim(), |
| 141 | }; |
| 142 | } |
| 143 | |
| 144 | export function __parseXcodeVersionForTests(output: string): { |
| 145 | version?: string; |
no outgoing calls
no test coverage detected