(config: Config, platform: string)
| 246 | } |
| 247 | |
| 248 | export async function getCapacitorPackageVersion(config: Config, platform: string): Promise<string> { |
| 249 | return (await requireCapacitorPackage(config, platform)).version; |
| 250 | } |
| 251 | |
| 252 | export async function getCoreVersion(config: Config): Promise<string> { |
| 253 | return getCapacitorPackageVersion(config, 'core'); |
no test coverage detected