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 committed Jun 21, 2024
1 parent 4a943b0 commit d906838
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 @@ -135,6 +135,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 d906838

Please sign in to comment.