Skip to content

Commit

Permalink
Update lib/install.go
Browse files Browse the repository at this point in the history
Co-authored-by: 老叶 <shuliyey@126.com>
  • Loading branch information
warrensbox and Shuliyey authored Jul 2, 2021
1 parent c903ee7 commit 28a1451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func getInstallPath() string {
// get versioned install filename (windows os runtime support)
func getVersionedInstallFileName(tfversion string) string {
if runtime.GOOS == "windows" {
return getInstallLocation() + installVersion + tfversion + ".exe"
return filepath.Join(getInstallLocation(), installVersion + tfversion + ".exe")
}

return getInstallLocation() + installVersion + tfversion
Expand Down

0 comments on commit 28a1451

Please sign in to comment.