2f4acf46 by asta.xie

modify the template file

1 parent c7437d75
...@@ -151,7 +151,7 @@ func getTplDeep(root, file, parent string, t *template.Template) (*template.Temp ...@@ -151,7 +151,7 @@ func getTplDeep(root, file, parent string, t *template.Template) (*template.Temp
151 fileabspath = filepath.Join(root, file) 151 fileabspath = filepath.Join(root, file)
152 } 152 }
153 if e := utils.FileExists(fileabspath); !e { 153 if e := utils.FileExists(fileabspath); !e {
154 panic("can't find template file" + file) 154 panic("can't find template file:" + file)
155 } 155 }
156 data, err := ioutil.ReadFile(fileabspath) 156 data, err := ioutil.ReadFile(fileabspath)
157 if err != nil { 157 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!