Skip to content

Commit

Permalink
link to nuget.org for nuget needs
Browse files Browse the repository at this point in the history
  • Loading branch information
goaaats committed Oct 2, 2024
1 parent d17152e commit a60a80e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Plogon/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

using Octokit;

using Plogon.Repo;

using Serilog;

namespace Plogon;
Expand Down Expand Up @@ -510,9 +512,13 @@ string ReplaceDiscordEmotes(string text)
var needsTable = MarkdownTableBuilder.Create("Type", "Name", "Version", "Reviewed by");
foreach (var need in allNeeds)
{
var name = need.Name;
if (need.Type == State.Need.NeedType.NuGet)
name = $"[{need.Name}](https://www.nuget.org/packages/{need.Name})";

needsTable.AddRow(
need.Type.ToString(),
need.Name,
name,
need.Version,
need.ReviewedBy ?? "⚠️ " + (need.OldVersion == null ? "NEW" : "Upd. from " + need.OldVersion));

Expand Down

0 comments on commit a60a80e

Please sign in to comment.