mirror of https://github.com/go-gitea/gitea.git
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.pull/30974/head^2
parent
f48cc501c4
commit
de9bcd1d23
Loading…
Reference in New Issue