Skip to content

Commit

Permalink
Deprecate installableBinLocation as it is unreliable on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreTechoueyres authored and Pierre Téchoueyres committed Jun 26, 2024
1 parent 33be9e7 commit e473a94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ func ConvertExecutableExt(fpath string) string {

// installableBinLocation : Checks if terraform is installable in the location provided by the user.
// If not, create $HOME/bin. Ask users to add $HOME/bin to $PATH and return $HOME/bin as install location
// Deprecated: This function has been deprecated and will be removed in v2.0.0
func installableBinLocation(product Product, userBinPath string) string {
homedir := GetHomeDirectory() //get user's home directory
binDir := Path(userBinPath) //get path directory from binary path
Expand Down

0 comments on commit e473a94

Please sign in to comment.