Skip to content

Commit 4d3b024

Browse files
committed
C#: Do not manually add public feed when private registries are used
1 parent d2b88ae commit 4d3b024

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,6 @@ private void RestoreProjects(IEnumerable<string> projects, HashSet<string>? conf
274274
// to `dotnet` ignores other feeds that may be configured, we also need to add the feeds
275275
// we have discovered from analysing `nuget.config` files.
276276
var sources = configuredSources ?? new();
277-
sources.Add(PublicNugetOrgFeed);
278277
this.dependabotProxy.RegistryURLs.ForEach(url => sources.Add(url));
279278

280279
// Add package sources. If any are present, they override all sources specified in

0 commit comments

Comments
 (0)