x/pkgsite: don't save zero-length readmes #40336
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
pkgsite
Milestone
If a readme file is zero-length, don't write it to the DB.
Example: https://github.com/docker/go-connections/blob/master/sockets/README.md
The text was updated successfully, but these errors were encountered: