1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 18:07:01 +00:00
Former-commit-id: f8560514a7b48f83121ddd21d74b4016af4e1b67
This commit is contained in:
Gerasimos Maropoulos
2018-03-08 20:55:58 +02:00
parent 83c4b7f52d
commit 1165b4527a
4 changed files with 13 additions and 6 deletions

View File

@@ -128,7 +128,7 @@ func (s *HandlebarsEngine) loadDirectory() error {
// instead of the html/template engine which works like {{ render "myfile.html"}} and accepts the parent binding, with handlebars we can't do that because of lack of runtime helpers (dublicate error)
var templateErr error
filepath.Walk(dir, func(path string, info os.FileInfo, err error) error {
filepath.Walk(dir, func(path string, info os.FileInfo, _ error) error {
if info == nil || info.IsDir() {
return nil
}