Skip to content

Commit

Permalink
For nugetize tool, consider default description as empty
Browse files Browse the repository at this point in the history
No point in rendering what's effectively a default value that should never have existed in the first place. NuGetizer flags this as a warning even now.
  • Loading branch information
kzu committed Mar 1, 2023
1 parent 8f8cbe2 commit e753903
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/dotnet-nugetize/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,9 @@ int Execute()
x.Name != "NuPkg")
.OrderBy(x => x.Name.LocalName))
{
if (md.Name.LocalName == "Description" && md.Value == "Package Description")
continue;

table.AddRow(new Text(md.Name.LocalName), new Text(md.Value));
}

Expand Down

0 comments on commit e753903

Please sign in to comment.