Skip to content

Commit 3bc4f4f

Browse files
author
nate smith
committed
oops
1 parent 59d651b commit 3bc4f4f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pkg/cmd/extension/manager.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -372,10 +372,7 @@ func (m *Manager) installBin(repo ghrepo.Interface) error {
372372
}
373373

374374
binPath := filepath.Join(targetDir, name)
375-
376-
if runtime.GOOS == "windows" {
377-
binPath += ".exe"
378-
}
375+
binPath += ext
379376

380377
err = downloadAsset(m.client, *asset, binPath)
381378
if err != nil {

0 commit comments

Comments
 (0)