mirror of
https://github.com/github/codeql.git
synced 2025-12-22 19:56:32 +01:00
C#: Use Add for environment variables
This commit is contained in:
@@ -65,9 +65,9 @@ namespace Semmle.Extraction.CSharp.DependencyFetching
|
|||||||
|
|
||||||
logger.LogInfo($"Setting up Dependabot proxy at {this.Address}");
|
logger.LogInfo($"Setting up Dependabot proxy at {this.Address}");
|
||||||
|
|
||||||
startInfo.EnvironmentVariables["HTTP_PROXY"] = this.Address;
|
startInfo.EnvironmentVariables.Add("HTTP_PROXY", this.Address);
|
||||||
startInfo.EnvironmentVariables["HTTPS_PROXY"] = this.Address;
|
startInfo.EnvironmentVariables.Add("HTTPS_PROXY", this.Address);
|
||||||
startInfo.EnvironmentVariables["SSL_CERT_FILE"] = this.certFile?.FullName;
|
startInfo.EnvironmentVariables.Add("SSL_CERT_FILE", this.certFile?.FullName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user