Skip to content

Commit 945cf0b

Browse files
committed
C#: Remove the explicit feed timeout fallback.
1 parent 41c4f86 commit 945cf0b

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

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

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -129,17 +129,6 @@ public HashSet<AssemblyLookupLocation> Restore()
129129

130130
var allExplicitReachable = explicitFeeds.Count == feedManager.ReachableExplicitFeeds.Count;
131131
EmitUnreachableFeedsDiagnostics(allExplicitReachable);
132-
133-
if (feedManager.ExplicitFeedTimeout)
134-
{
135-
// If we experience a timeout, we use this fallback.
136-
// todo: we could also check the reachability of the inherited nuget feeds, but to use those in the fallback we would need to handle authentication too.
137-
var unresponsiveMissingPackageLocation = DownloadMissingPackages([]);
138-
return unresponsiveMissingPackageLocation is null
139-
? []
140-
: [unresponsiveMissingPackageLocation];
141-
}
142-
143132
}
144133

145134
try

0 commit comments

Comments
 (0)