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=''
What happens
No possibility to disable
global-agentfrom overwriting theHTTP_PROXYvars under Windows using Winows cmd/powershell while following this section and settingGLOBAL_AGENT_ENVIRONMENT_VARIABLE_NAMESPACE=''Reproduction
Install
yo(which usesyo-doctor, which usesgot, which depends onglobal-agent) behind a proxy on Windows.Note: disabling the behavior of
GLOBAL_AGENT_ENVIRONMENT_VARIABLE_NAMESPACErequires 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 ofGLOBAL_AGENT_ENVIRONMENT_VARIABLE_NAMESPACE=''