()
| 122 | } |
| 123 | |
| 124 | function checkCurlAvailable() { |
| 125 | try { |
| 126 | execSync('which curl', { stdio: 'ignore' }) |
| 127 | return true |
| 128 | } catch { |
| 129 | return false |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | function getLatestVersion(repo) { |
| 134 | if (!checkCurlAvailable()) { |
no outgoing calls
no test coverage detected