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 28a1451 commit c4e9616
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 @@ -66,7 +66,7 @@ func getVersionedInstallFileName(tfversion string) string {
// get install filename (windows os runtime support)
func getInstallFileName() string {
if runtime.GOOS == "windows" {
return getInstallLocation() + installFile + ".exe"
return filepath.Join(getInstallLocation(), installFile + ".exe")
}

return installLocation + installFile
Expand Down

0 comments on commit c4e9616

Please sign in to comment.