(command: string)
| 103 | } |
| 104 | |
| 105 | export function checkCommandExists(command: string): boolean { |
| 106 | try { |
| 107 | execSync(`command -v ${command}`, { stdio: 'ignore' }); |
| 108 | return true; |
| 109 | } catch { |
| 110 | return false; |
| 111 | } |
| 112 | } |
no outgoing calls
no test coverage detected