()
| 96 | } |
| 97 | |
| 98 | function getPlatform() { |
| 99 | const osPlatform = platform() |
| 100 | if (osPlatform === 'darwin') return 'macos' |
| 101 | if (osPlatform === 'linux') return 'linux' |
| 102 | if (osPlatform === 'win32') return 'win32' |
| 103 | return 'linux' |
| 104 | } |
| 105 | |
| 106 | function checkBrewAvailable() { |
| 107 | try { |
no outgoing calls
no test coverage detected