(packageName: string, packagePath: string | null)
| 56 | } |
| 57 | |
| 58 | async function printPackageVersion(packageName: string, packagePath: string | null) { |
| 59 | let version; |
| 60 | if (packagePath) { |
| 61 | version = (await readJSON(packagePath)).version; |
| 62 | } |
| 63 | output.write(` ${packageName}: ${c.weak(version || 'not installed')}\n`); |
| 64 | } |
| 65 | |
| 66 | export async function doctor(config: Config, platformName: string): Promise<void> { |
| 67 | if (platformName === config.ios.name) { |
no test coverage detected