Commit e467a6ed authored by astaxie's avatar astaxie

fix err

parent d0e171c8
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment