mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 07:00:55 +00:00
fix err
This commit is contained in:
parent
d0e171c801
commit
e467a6ed91
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user