(config: Config, platform: string)
| 271 | } |
| 272 | |
| 273 | export async function getProjectPlatformDirectory(config: Config, platform: string): Promise<string | null> { |
| 274 | const platformPath = getPlatformDirectory(config, platform); |
| 275 | |
| 276 | if (platformPath && (await pathExists(platformPath))) { |
| 277 | return platformPath; |
| 278 | } |
| 279 | |
| 280 | return null; |
| 281 | } |
| 282 | |
| 283 | export async function selectPlatforms(config: Config, selectedPlatformName?: string): Promise<string[]> { |
| 284 | if (selectedPlatformName) { |
no test coverage detected