1
1
mirror of https://github.com/go-gitea/gitea synced 2025-10-31 03:18:24 +00:00
Files
gitea/tests/integration/api_packages_maven_test.go
wxiaoguang de9bcd1d23 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.
2024-05-20 06:44:16 +00:00

9.0 KiB