diff options
Diffstat (limited to 'app/services/packages/pypi/create_package_service.rb')
-rw-r--r-- | app/services/packages/pypi/create_package_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/packages/pypi/create_package_service.rb b/app/services/packages/pypi/create_package_service.rb index fca7b1bca37..3c582b40203 100644 --- a/app/services/packages/pypi/create_package_service.rb +++ b/app/services/packages/pypi/create_package_service.rb @@ -12,7 +12,7 @@ module Packages required_python: params[:requires_python] || '', metadata_version: params[:metadata_version], author_email: params[:author_email], - description: params[:description], + description: params[:description]&.truncate(::Packages::Pypi::Metadatum::MAX_DESCRIPTION_LENGTH), description_content_type: params[:description_content_type], summary: params[:summary], keywords: params[:keywords] |