Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaMilosavljevic committed Mar 21, 2024
1 parent 3f458e5 commit 0a1e0b1
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ private void AddDefaultMappingsForOnlineSources(XElement pkgSrcMappingClearEleme
.Descendants()
.Where(e => e.Name == "add" && !allSourcesPackages.Keys.Contains(e.Attribute("key").Value))
.Select(e => e.Attribute("key").Value)
.Distinct()
.ToArray())
.Distinct())
{
pkgSrcMappingClearElement.AddAfterSelf(new XElement("packageSource", new XAttribute("key", sourceName), new XElement("package", new XAttribute("pattern", "*"))));
}
Expand Down

0 comments on commit 0a1e0b1

Please sign in to comment.