e467a6ed by astaxie

fix err

1 parent d0e171c8
...@@ -207,7 +207,7 @@ func BuildTemplate(dir string) error { ...@@ -207,7 +207,7 @@ func BuildTemplate(dir string) error {
207 root: dir, 207 root: dir,
208 files: make(map[string][]string), 208 files: make(map[string][]string),
209 } 209 }
210 err = filepath.Walk(dir, func(path string, f os.FileInfo, err error) error { 210 err := filepath.Walk(dir, func(path string, f os.FileInfo, err error) error {
211 return self.visit(path, f, err) 211 return self.visit(path, f, err)
212 }) 212 })
213 if err != nil { 213 if err != nil {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!