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

close task#7668

上级 3e0915cd
......@@ -170,13 +170,7 @@ func AddZdToPath() {
out, err := shellUtils.ExeShell(cmd)
if err == nil {
msg := ""
if commonUtils.IsWin() {
msg = i118Utils.I118Prt.Sprintf("add_to_path_success_win")
} else {
msg = i118Utils.I118Prt.Sprintf("add_to_path_success_linux", path)
}
logUtils.PrintToWithColor(msg, color.FgRed)
logUtils.PrintToWithColor(i118Utils.I118Prt.Sprintf("add_to_path_success_linux", path), color.FgRed)
} else {
logUtils.PrintToWithColor(
i118Utils.I118Prt.Sprintf("fail_to_exec_cmd", cmd, err.Error() + ": " + out), color.FgRed)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册