name a post-processor to it's type if it is not named

pull/7330/head
Adrien Delorme 7 years ago
parent 3167d5d52c
commit 5eccbc702d

@ -144,6 +144,11 @@ func (r *rawTemplate) Template() (*Template, error) {
continue
}
// The name defaults to the type if it isn't set
if pp.Name == "" {
pp.Name = pp.Type
}
// Set the configuration
delete(c, "except")
delete(c, "only")

Loading…
Cancel
Save