feat: 文件工具添加文本输出函数,调整逐行
This commit is contained in:
@@ -178,6 +178,8 @@ func (r NeVersion) Operate(action string, neVersion model.NeVersion, preinput ma
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
// 将安装升级执行结果写入文件
|
||||
file.WriterFileTXT(commandLine, fmt.Sprintf("/tmp/%s_%s.out", neVersion.NeType, action))
|
||||
|
||||
// ========= 完成阶段 =========
|
||||
if strings.LastIndex(commandLine, okFlagStr) > 5 {
|
||||
|
||||
Reference in New Issue
Block a user