1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05: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 Avoid 500 panic error when uploading invalid maven package file (#31014) 2024-05-20 06:44:16 +00:00
npm.tmpl
nuget.tmpl
pub.tmpl
pypi.tmpl
rpm.tmpl
rubygems.tmpl
swift.tmpl
vagrant.tmpl