Skip to content

Commit 9770171

Browse files
author
Leonty Chudinov
committed
Ignore http(s)_proxy env variables
1 parent e0b93c0 commit 9770171

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bootstrap/bootstrap.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ func Run(productName, productTitle, productVersion string) {
4141
}
4242
}
4343
}
44+
os.Setenv("HTTP_PROXY", "")
45+
os.Setenv("HTTPS_PROXY", "")
4446
userConfigDir, err := os.UserConfigDir()
4547

4648
userConfigDir = filepath.Join(userConfigDir, "Rocket Software")
@@ -51,7 +53,7 @@ func Run(productName, productTitle, productVersion string) {
5153
if err := utils.CreateProductWorkDir(userConfigDir); err != nil {
5254
log.Fatal(err)
5355
}
54-
56+
5557
productWorkDir := filepath.Join(userConfigDir, "cache")
5658
if err := utils.CreateProductWorkDir(productWorkDir); err != nil {
5759
log.Fatal(err)

0 commit comments

Comments
 (0)