feat: vendor gitea 1.16.2
This commit is contained in:
@@ -37,7 +37,7 @@ func (o *Option[T]) UnmarshalYAML(value *yaml.Node) error {
|
||||
|
||||
func (o Option[T]) MarshalYAML() (any, error) {
|
||||
if !o.Has() {
|
||||
return nil, nil
|
||||
return nil, nil //nolint:nilnil // return nil to indicate no value to marshal
|
||||
}
|
||||
|
||||
value := new(yaml.Node)
|
||||
|
||||
Reference in New Issue
Block a user