oops
This commit is contained in:
parent
59d651b5ea
commit
3bc4f4f5dd
1 changed files with 1 additions and 4 deletions
|
|
@ -372,10 +372,7 @@ func (m *Manager) installBin(repo ghrepo.Interface) error {
|
|||
}
|
||||
|
||||
binPath := filepath.Join(targetDir, name)
|
||||
|
||||
if runtime.GOOS == "windows" {
|
||||
binPath += ".exe"
|
||||
}
|
||||
binPath += ext
|
||||
|
||||
err = downloadAsset(m.client, *asset, binPath)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue