()
| 158 | } |
| 159 | |
| 160 | func binPath() string { |
| 161 | return filepath.Join( |
| 162 | cacheDir(), installVersion, binaryNameForOS(runtime.GOOS), |
| 163 | ) |
| 164 | } |
| 165 | |
| 166 | func binaryNameForOS(targetOS string) string { |
| 167 | if targetOS == "windows" { |
no test coverage detected