File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -623,13 +623,9 @@ private IEnumerable<string> GetFeeds(Func<IList<string>> getNugetFeeds)
623
623
624
624
private ( HashSet < string > explicitFeeds , HashSet < string > allFeeds ) GetAllFeeds ( )
625
625
{
626
- IList < string > GetNugetFeeds ( string nugetConfig ) => dotnet . GetNugetFeeds ( nugetConfig ) ;
627
-
628
- IList < string > GetNugetFeedsFromFolder ( string folderPath ) => dotnet . GetNugetFeedsFromFolder ( folderPath ) ;
629
-
630
626
var nugetConfigs = fileProvider . NugetConfigs ;
631
627
var explicitFeeds = nugetConfigs
632
- . SelectMany ( config => GetFeeds ( ( ) => GetNugetFeeds ( config ) ) )
628
+ . SelectMany ( config => GetFeeds ( ( ) => dotnet . GetNugetFeeds ( config ) ) )
633
629
. ToHashSet ( ) ;
634
630
635
631
if ( explicitFeeds . Count > 0 )
@@ -657,7 +653,7 @@ private IEnumerable<string> GetFeeds(Func<IList<string>> getNugetFeeds)
657
653
return null ;
658
654
} )
659
655
. Where ( folder => folder != null )
660
- . SelectMany ( folder => GetFeeds ( ( ) => GetNugetFeedsFromFolder ( folder ! ) ) )
656
+ . SelectMany ( folder => GetFeeds ( ( ) => dotnet . GetNugetFeedsFromFolder ( folder ! ) ) )
661
657
. ToHashSet ( ) ;
662
658
663
659
logger . LogInfo ( $ "Found { allFeeds . Count } Nuget feeds (with inherited ones) in nuget.config files: { string . Join ( ", " , allFeeds . OrderBy ( f => f ) ) } ") ;
You can’t perform that action at this time.
0 commit comments