(config: Config, platformName: string)
| 123 | } |
| 124 | |
| 125 | async function doAdd(config: Config, platformName: string): Promise<void> { |
| 126 | await runTask(c.success(c.strong('add')), async () => { |
| 127 | if (platformName === config.ios.name) { |
| 128 | await addIOS(config); |
| 129 | } else if (platformName === config.android.name) { |
| 130 | await addAndroid(config); |
| 131 | } |
| 132 | }); |
| 133 | } |
| 134 | |
| 135 | async function editPlatforms(config: Config, platformName: string) { |
| 136 | if (platformName === config.ios.name) { |
no test coverage detected