code formatting

This commit is contained in:
Yonas Kolb
2018-05-07 18:45:17 +10:00
parent 1427e10698
commit 47f2b33d80

View File

@@ -27,7 +27,7 @@ class IncludeNode : NodeType {
let template = try context.environment.loadTemplate(name: templateName)
let subContext = includeContext.flatMap{ context[$0] as? [String: Any] }
let subContext = includeContext.flatMap { context[$0] as? [String: Any] }
return try context.push(dictionary: subContext) {
return try template.render(context)
}