0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-20 08:18:03 +01:00
gitea/templates/package/metadata
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
..
alpine.tmpl
cargo.tmpl
chef.tmpl
composer.tmpl
conan.tmpl
conda.tmpl
container.tmpl
cran.tmpl
debian.tmpl
generic.tmpl
helm.tmpl
maven.tmpl
npm.tmpl
nuget.tmpl
pub.tmpl
pypi.tmpl
rpm.tmpl
rubygems.tmpl
swift.tmpl
vagrant.tmpl