Skip to content

Commit 8e698f2

Browse files
committed
C#: Address review comments.
1 parent 790835c commit 8e698f2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

csharp/extractor/Semmle.Extraction.CSharp.DependencyFetching/NugetPackageRestorer.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,10 @@ public HashSet<AssemblyLookupLocation> Restore()
122122

123123
try
124124
{
125-
HashSet<string> allFeeds = [];
126-
127125
// Find feeds that are configured in NuGet.config files and divide them into ones that
128126
// are explicitly configured for the project or by a private registry, and "all feeds"
129127
// (including inherited ones) from other locations on the host outside of the working directory.
130-
(explicitFeeds, allFeeds) = GetAllFeeds();
128+
(explicitFeeds, var allFeeds) = GetAllFeeds();
131129

132130
if (CheckNugetFeedResponsiveness)
133131
{

0 commit comments

Comments
 (0)