From e473a94371f45e5fbfec3c669db053f8140dac89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20T=C3=A9choueyres?= Date: Sat, 22 Jun 2024 00:24:00 +0200 Subject: [PATCH] Deprecate installableBinLocation as it is unreliable on Windows --- lib/install.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/install.go b/lib/install.go index e99fc1af..29911f75 100644 --- a/lib/install.go +++ b/lib/install.go @@ -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