mirror of
https://codeberg.org/woodpecker-plugins/go-plugin
synced 2026-06-04 10:14:59 +08:00
Fix lint
This commit is contained in:
@@ -102,7 +102,6 @@ func HTTPClientFromContext(c *cli.Command, httpProxyEnabled bool) *http.Client {
|
||||
if v := c.String("transport.https-proxy"); v != "" {
|
||||
os.Setenv("HTTPS_PROXY", v)
|
||||
os.Setenv("https_proxy", v)
|
||||
|
||||
}
|
||||
if v := c.String("transport.no-proxy"); v != "" {
|
||||
os.Setenv("NO_PROXY", v)
|
||||
|
||||
Reference in New Issue
Block a user