Restore code style

This commit is contained in:
Kyle Fuller
2015-10-24 14:26:32 -07:00
parent 1ea58b70f3
commit 033ae61e42
5 changed files with 15 additions and 15 deletions

View File

@@ -70,8 +70,8 @@ public class TokenParser {
let tag = token.components().first let tag = token.components().first
if let parse_until = parse_until where parse_until(parser: self, token: token) { if let parse_until = parse_until where parse_until(parser: self, token: token) {
prependToken(token) prependToken(token)
return nodes return nodes
} }
if let tag = tag { if let tag = tag {

View File

@@ -25,7 +25,7 @@ public class IncludeNode : NodeType {
} }
guard let template = loader.loadTemplate(templateName) else { guard let template = loader.loadTemplate(templateName) else {
let paths:String = loader.paths.map { $0.description }.joinWithSeparator(", ") let paths = loader.paths.map { $0.description }.joinWithSeparator(", ")
throw TemplateSyntaxError("'\(templateName)' template not found in \(paths)") throw TemplateSyntaxError("'\(templateName)' template not found in \(paths)")
} }