We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad2aa6d commit 454d13bCopy full SHA for 454d13b
csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/NugetPackageRestorer.cs
@@ -893,10 +893,7 @@ private IEnumerable<string> GetFeeds(Func<IList<string>> getNugetFeeds)
893
// file systems, we may discover a configuration file such as `Nuget.Config` which is not recognised by `dotnet nuget`.
894
// In that case, our call to `GetNugetFeeds` will retrieve the feeds from that file (because it is accepted when
895
// provided explicitly as `--configfile` argument), but the call to `GetNugetFeedsFromFolder` will not.
896
- if (explicitFeeds.Count > 0)
897
- {
898
- allFeeds.UnionWith(explicitFeeds);
899
- }
+ allFeeds.UnionWith(explicitFeeds);
900
}
901
else
902
{
0 commit comments