Skip to content

Commit eacba10

Browse files
committed
For nugetize tool, consider default description as empty
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.
1 parent 6a2232c commit eacba10

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/dotnet-nugetize/Program.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,9 @@ int Execute()
296296
x.Name != "NuPkg")
297297
.OrderBy(x => x.Name.LocalName))
298298
{
299+
if (md.Name.LocalName == "Description" && md.Value == "Package Description")
300+
continue;
301+
299302
table.AddRow(new Text(md.Name.LocalName), new Text(md.Value));
300303
}
301304

0 commit comments

Comments
 (0)