Skip to content

Commit

Permalink
reinstate description check (#14717)
Browse files Browse the repository at this point in the history
- brought back description check as publish online API still requires it
  • Loading branch information
dnenov authored Dec 11, 2023
1 parent eaff9b3 commit d70c7b5
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2352,6 +2352,12 @@ private bool CheckPackageValidity()
return false;
}

if (Description.Length <= 10)
{
ErrorString = Resources.DescriptionNeedMoreCharacters;
return false;
}

if (MajorVersion.Length <= 0)
{
ErrorString = Resources.MajorVersionNonNegative;
Expand Down

0 comments on commit d70c7b5

Please sign in to comment.