diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2024-05-20 14:44:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-20 06:44:16 +0000 |
commit | de9bcd1d23523d736234ccbf73adce4746575e1b (patch) | |
tree | 90cb8c9bfd856f84412f1d84e81146c2f866bc1f /poetry.toml | |
parent | f48cc501c46a2d34eb701561f01d888d689d60d5 (diff) | |
download | gitea-de9bcd1d23523d736234ccbf73adce4746575e1b.tar.gz gitea-de9bcd1d23523d736234ccbf73adce4746575e1b.zip |
Avoid 500 panic error when uploading invalid maven package file (#31014)
PackageDescriptor.Metadata might be nil (and maybe not only for maven).
This is only a quick fix.
The new `if` block is written intentionally to avoid unnecessary
indenting to the existing code.
Diffstat (limited to 'poetry.toml')
0 files changed, 0 insertions, 0 deletions