Skip to content

Commit

Permalink
fix authenticated sources not showing chocolatey (fix #2778)
Browse files Browse the repository at this point in the history
  • Loading branch information
marticliment committed Sep 25, 2024
1 parent 64e5898 commit 9d73f28
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ protected override IEnumerable<IManagerSource> GetSources_UnSafe()
continue;
}

if (line.Contains(" - ") && line.Contains(" | "))
if (line.Contains(" - ") && line.Contains("| "))
{
string[] parts = line.Trim().Split('|')[0].Trim().Split(" - ");
if (parts[1].Trim() == "https://community.chocolatey.org/api/v2/")
Expand Down

0 comments on commit 9d73f28

Please sign in to comment.