Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows support for proxy setting #53

Open
weshouman opened this issue Apr 30, 2022 · 0 comments
Open

Windows support for proxy setting #53

weshouman opened this issue Apr 30, 2022 · 0 comments

Comments

@weshouman
Copy link

weshouman commented Apr 30, 2022

What happens

No possibility to disable global-agent from overwriting the HTTP_PROXY vars under Windows using Winows cmd/powershell while following this section and setting GLOBAL_AGENT_ENVIRONMENT_VARIABLE_NAMESPACE=''

Reproduction

Install yo (which uses yo-doctor, which uses got, which depends on global-agent) behind a proxy on Windows.

Note: disabling the behavior of GLOBAL_AGENT_ENVIRONMENT_VARIABLE_NAMESPACE requires setting the variable to an empty string, which is not possible by design under windows.

Reference issue

Suggested Solution

Provide another environment variable, for example GLOBAL_AGENT_ENVIRONMENT_VARIABLE_DISABLE='true' to have the same effect of GLOBAL_AGENT_ENVIRONMENT_VARIABLE_NAMESPACE=''

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant