File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,6 @@ public class DependabotProxy : IDisposable
52
52
53
53
if ( ! string . IsNullOrWhiteSpace ( cert ) )
54
54
{
55
- logger . LogInfo ( "No certificate configured for Dependabot proxy." ) ;
56
-
57
55
var certDirPath = new DirectoryInfo ( Path . Join ( tempWorkingDirectory . DirInfo . FullName , ".dependabot-proxy" ) ) ;
58
56
Directory . CreateDirectory ( certDirPath . FullName ) ;
59
57
Original file line number Diff line number Diff line change @@ -46,9 +46,9 @@ private ProcessStartInfo MakeDotnetStartInfo(string args, string? workingDirecto
46
46
{
47
47
logger . LogInfo ( $ "Setting up Dependabot proxy at { this . proxy . Address } ") ;
48
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 ) ;
49
+ startInfo . EnvironmentVariables [ "HTTP_PROXY" ] = this . proxy . Address ;
50
+ startInfo . EnvironmentVariables [ "HTTPS_PROXY" ] = this . proxy . Address ;
51
+ startInfo . EnvironmentVariables [ "SSL_CERT_FILE" ] = this . proxy . CertificatePath ;
52
52
}
53
53
54
54
return startInfo ;
You can’t perform that action at this time.
0 commit comments