Check reachability of inherited feeds

This commit is contained in:
Michael B. Gale
2026-02-27 14:32:01 +00:00
committed by Michael Nebel
parent 9898e21ce7
commit 17c45fcd75

View File

@@ -132,10 +132,10 @@ namespace Semmle.Extraction.CSharp.DependencyFetching
this.dependabotProxy?.RegistryURLs.ForEach(url => explicitFeeds.Add(url));
var explicitFeedsReachable = this.CheckSpecifiedFeeds(explicitFeeds);
this.GetReachableNuGetFeeds(inheritedFeeds, isFallback: false);
if (inheritedFeeds.Count > 0)
{
logger.LogInfo($"Inherited NuGet feeds (not checked for reachability): {string.Join(", ", inheritedFeeds.OrderBy(f => f))}");
compilationInfoContainer.CompilationInfos.Add(("Inherited NuGet feed count", inheritedFeeds.Count.ToString()));
}