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

fix the issue of list cmd output msg

上级 338094b1
......@@ -46,7 +46,7 @@ func List(files []string, keywords string) {
width := strconv.Itoa(len(strconv.Itoa(total)))
logUtils.Info("\n" + time.Now().Format("2006-01-02 15:04:05") + " " +
i118Utils.Sprintf("found_scripts", total, commConsts.WorkDir))
i118Utils.Sprintf("found_scripts_no_ztf_dir", total, commConsts.WorkDir))
for idx, cs := range scriptArr {
path := cs.Path
......
......@@ -45,7 +45,7 @@ func view(cases []string, keywords string) {
total := len(arrs)
logUtils.Info("\n" + time.Now().Format("2006-01-02 15:04:05") + " " +
i118Utils.Sprintf("found_scripts", total, commConsts.WorkDir))
i118Utils.Sprintf("found_scripts_no_ztf_dir", total, commConsts.WorkDir))
width := len(strconv.Itoa(len(arrs)))
for idx, arr := range arrs {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册