mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
committed by
Bjørn Erik Pedersen
parent
53a8de21b8
commit
a3684c8361
@@ -224,7 +224,7 @@ func (ns *Namespace) Concat(targetPathIn any, r any) (resource.Resource, error)
|
||||
case resource.ResourcesConverter:
|
||||
rr = v.ToResources()
|
||||
default:
|
||||
return nil, fmt.Errorf("slice %T not supported in concat", r)
|
||||
return nil, fmt.Errorf("expected slice of Resource objects, received %T instead", r)
|
||||
}
|
||||
|
||||
if len(rr) == 0 {
|
||||
|
Reference in New Issue
Block a user