This commit is contained in:
astaxie 2013-03-21 21:47:19 +08:00
parent d0e171c801
commit e467a6ed91
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ func BuildTemplate(dir string) error {
root: dir,
files: make(map[string][]string),
}
err = filepath.Walk(dir, func(path string, f os.FileInfo, err error) error {
err := filepath.Walk(dir, func(path string, f os.FileInfo, err error) error {
return self.visit(path, f, err)
})
if err != nil {