tpl/tplimpl: Handle late transformation of templates

Fixes #5865
This commit is contained in:
Bjørn Erik Pedersen
2019-04-16 09:13:55 +02:00
parent 56550d1e44
commit 2957795f52
7 changed files with 150 additions and 62 deletions

View File

@@ -46,9 +46,7 @@ func (*TemplateProvider) Update(deps *deps.Deps) error {
}
newTmpl.MarkReady()
return nil
return newTmpl.MarkReady()
}
@@ -60,7 +58,6 @@ func (*TemplateProvider) Clone(d *deps.Deps) error {
d.Tmpl = clone
clone.MarkReady()
return clone.MarkReady()
return nil
}