render(_, withTemplateNamed) -> render(_, withTemplate)

This commit is contained in:
Adam Fowler
2021-03-15 15:17:49 +00:00
parent e391f5ae05
commit 5dd3ab2af1
4 changed files with 5 additions and 5 deletions

View File

@@ -32,7 +32,7 @@ extension HBMustacheTemplate {
string += renderInvertedSection(child, parent: object, with: template)
case .partial(let name):
if let text = library?.render(object, withTemplateNamed: name) {
if let text = library?.render(object, withTemplate: name) {
string += text
}
}