Skip to content

Commit 2e0f0c4

Browse files
committed
C#: Address review comments.
1 parent 16ebfc8 commit 2e0f0c4

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

‎csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/RegistryProxy.cs‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,12 +197,9 @@ public void SetProcessEnvironment(ProcessStartInfo pi)
197197

198198
if (CertificatePath != null)
199199
{
200+
logger.LogDebug("Setting the SSL certificate path for the registry proxy.");
200201
pi.EnvironmentVariables["SSL_CERT_FILE"] = CertificatePath;
201202
}
202-
else
203-
{
204-
logger.LogDebug("No SSL certificate is configured for the registry proxy.");
205-
}
206203
}
207204

208205
public void Dispose()
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
category: minorAnalysis
33
---
4-
* Proxy and certificate environment variables are now set for the subprocess that invokes the NuGet CLI, enabling it to access private registries during this part of the workflow.
4+
* The subprocess for the NuGet CLI is now provided with the proxy and certificate environment variables needed to access private registries if any are configured.

0 commit comments

Comments
 (0)