0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-14 22:45:31 +01:00
gitea/templates/package/content
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_dependencies.tmpl
composer.tmpl
conan.tmpl
conda.tmpl
container.tmpl
cran.tmpl
debian.tmpl
generic.tmpl
go.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_dependencies.tmpl
npm.tmpl
nuget.tmpl
pub.tmpl
pypi.tmpl
rpm.tmpl
rubygems_dependencies.tmpl
rubygems.tmpl
swift.tmpl
vagrant.tmpl