(packageName: string)
| 13 | } |
| 14 | |
| 15 | export function isPackageInstalled(packageName: string): boolean { |
| 16 | try { |
| 17 | require.resolve(packageName); |
| 18 | return true; |
| 19 | } catch { |
| 20 | return false; |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | function formatValidationDependencyHelp(missing: string[]): string { |
| 25 | const isWin = process.platform === 'win32'; |
no outgoing calls
no test coverage detected