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.
1 parent 95896bc commit d7f8b96Copy full SHA for d7f8b96
csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/DependencyManager.Nuget.cs
@@ -490,7 +490,15 @@ private HashSet<string> GetAllFeeds(List<FileInfo> allFiles)
490
.SelectMany(GetFeeds)
491
.Where(str => !string.IsNullOrWhiteSpace(str))
492
.ToHashSet();
493
- logger.LogInfo($"Found Nuget feeds in nuget.config files: {string.Join(", ", feeds.OrderBy(f => f))}");
+
494
+ if (feeds.Count > 0)
495
+ {
496
+ logger.LogInfo($"Found {feeds.Count} Nuget feeds in nuget.config files: {string.Join(", ", feeds.OrderBy(f => f))}");
497
+ }
498
+ else
499
500
+ logger.LogDebug("No Nuget feeds found in nuget.config files.");
501
502
return feeds;
503
}
504
0 commit comments