(params: CleanParams)
| 143 | } |
| 144 | |
| 145 | function resolveCleanPlatform(params: CleanParams): XcodePlatform | null { |
| 146 | const targetPlatform = params.platform ?? 'iOS'; |
| 147 | const platformEnum = PLATFORM_MAP[targetPlatform]; |
| 148 | if (!platformEnum) { |
| 149 | return null; |
| 150 | } |
| 151 | return SIMULATOR_TO_DEVICE_PLATFORM[platformEnum] ?? platformEnum; |
| 152 | } |
| 153 | |
| 154 | export function createCleanExecutor( |
| 155 | executor: CommandExecutor, |
no outgoing calls
no test coverage detected