modify the template file

This commit is contained in:
asta.xie 2014-03-27 08:49:57 +08:00
parent c7437d7590
commit 2f4acf46c6
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ func getTplDeep(root, file, parent string, t *template.Template) (*template.Temp
fileabspath = filepath.Join(root, file)
}
if e := utils.FileExists(fileabspath); !e {
panic("can't find template file" + file)
panic("can't find template file:" + file)
}
data, err := ioutil.ReadFile(fileabspath)
if err != nil {