Skip to content

Commit d70c7b5

Browse files
authored
reinstate description check (DynamoDS#14717)
- brought back description check as publish online API still requires it
1 parent eaff9b3 commit d70c7b5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/DynamoCoreWpf/ViewModels/PackageManager/PublishPackageViewModel.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2352,6 +2352,12 @@ private bool CheckPackageValidity()
23522352
return false;
23532353
}
23542354

2355+
if (Description.Length <= 10)
2356+
{
2357+
ErrorString = Resources.DescriptionNeedMoreCharacters;
2358+
return false;
2359+
}
2360+
23552361
if (MajorVersion.Length <= 0)
23562362
{
23572363
ErrorString = Resources.MajorVersionNonNegative;

0 commit comments

Comments
 (0)