We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
DotNetCliInvoker
1 parent f78c6e0 commit b0f0a24Copy full SHA for b0f0a24
csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/DotNetCliInvoker.cs
@@ -46,9 +46,9 @@ private ProcessStartInfo MakeDotnetStartInfo(string args, string? workingDirecto
46
{
47
logger.LogInfo($"Setting up Dependabot proxy at {this.proxy.Address}");
48
49
- startInfo.EnvironmentVariables.Add("HTTP_PROXY", this.proxy.Address);
50
- startInfo.EnvironmentVariables.Add("HTTPS_PROXY", this.proxy.Address);
51
- startInfo.EnvironmentVariables.Add("SSL_CERT_FILE", this.proxy.CertificatePath);
+ startInfo.EnvironmentVariables["HTTP_PROXY"] = this.proxy.Address;
+ startInfo.EnvironmentVariables["HTTPS_PROXY"] = this.proxy.Address;
+ startInfo.EnvironmentVariables["SSL_CERT_FILE"] = this.proxy.CertificatePath;
52
}
53
54
return startInfo;
0 commit comments