提交 cbd8001b 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

fix issue

上级 a30b1887
......@@ -5,11 +5,5 @@ author: zentao
version: 1.0
fields:
- field: field2
fields:
- field: field2.1
range: 1-9:R
divider: ','
- field: field2.2
range: a-z
postfix: ','
- field: field2.1
range: "【】`<.>WWW"
......@@ -23,7 +23,7 @@ func LoadDataDef(files []string, fieldsToExport *[]string) (ret model.DefData) {
newFiles = append(newFiles, f)
}
ret = LoadDef(newFiles[0])
ret = model.DefData{}
for _, f := range newFiles {
right := LoadDef(f)
......@@ -48,7 +48,7 @@ func LoadDef(file string) (ret model.DefData) {
}
err = yaml.Unmarshal(defaultContent, &ret)
if err != nil {
logUtils.PrintToWithColor(i118Utils.I118Prt.Sprintf("fail_to_read_file", pathDefaultFile), color.FgCyan)
logUtils.PrintToWithColor(i118Utils.I118Prt.Sprintf("fail_to_parse_file", pathDefaultFile), color.FgCyan)
return
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册