(platform)
| 420 | } |
| 421 | |
| 422 | addPlatform(platform) { |
| 423 | this.runCommands(`adding platform ${displayNameForPlatform(platform)} \ |
| 424 | to Cordova project`, async () => { |
| 425 | let version = pinnedPlatformVersions[platform]; |
| 426 | let platformSpec = version ? `${platform}@${version}` : platform; |
| 427 | await cordova_lib.platform('add', platformSpec, this.defaultOptions); |
| 428 | }); |
| 429 | } |
| 430 | |
| 431 | removePlatform(platform) { |
| 432 | this.runCommands(`removing platform ${displayNameForPlatform(platform)} \ |
no test coverage detected