1
1
mirror of https://github.com/go-gitea/gitea synced 2024-09-15 16:26:07 +00: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