mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-23 14:12:57 +00:00
parent
53a8de21b8
commit
a3684c8361
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue