Skip to content

Commit

Permalink
Merge pull request #135 from crablab/patch-1
Browse files Browse the repository at this point in the history
Fix incorrect proxyURL with terragruntURL
  • Loading branch information
warrensbox committed Apr 12, 2024
2 parents d7ef900 + 91d8bbc commit 6150678
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func main() {
installVersion(tgversion, &binPath)
/* if terragrunt.hcl file found (IN ADDITION TO A TOML FILE) */
case lib.FileExists(TGHACLFile) && checkVersionDefinedHCL(&TGHACLFile) && len(args) == 0:
installTGHclFile(&TGHACLFile, binPath, proxyUrl)
installTGHclFile(&TGHACLFile, binPath, terragruntURL)
/* if terragrunt Version environment variable is set (IN ADDITION TO A TOML FILE)*/
case checkTGEnvExist() && len(args) == 0 && version == "":
tgversion := os.Getenv("TG_VERSION")
Expand Down Expand Up @@ -158,7 +158,7 @@ func main() {
installVersion(tgversion, custBinPath)
/* if terragrunt.hcl file found */
case lib.FileExists(TGHACLFile) && checkVersionDefinedHCL(&TGHACLFile) && len(args) == 0:
installTGHclFile(&TGHACLFile, *custBinPath, proxyUrl)
installTGHclFile(&TGHACLFile, *custBinPath, terragruntURL)
/* if terragrunt Version environment variable is set*/
case checkTGEnvExist() && len(args) == 0:
tgversion := os.Getenv("TG_VERSION")
Expand Down

0 comments on commit 6150678

Please sign in to comment.