1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-18 06:33:44 -04: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 Add support for npm bundleDependencies (#30751) 2024-04-29 16:19:06 +08:00
nuget.tmpl Some NuGet package enhancements (#30280) 2024-04-07 16:46:59 +00:00
pub.tmpl
pypi.tmpl
rpm.tmpl
rubygems_dependencies.tmpl
rubygems.tmpl
swift.tmpl
vagrant.tmpl