[ Agent ] [ Executor ] - 优化修改Pipeline部分的代码

This commit is contained in:
zeaslity
2023-10-18 15:50:26 +08:00
parent f31b303ff8
commit b675cf3340
4 changed files with 137 additions and 46 deletions

View File

@@ -79,6 +79,9 @@ func BasicFileExistAndNotNull(filename string) bool {
func BasicPrettyPrint(resultOk bool, resultLog []string) {
fmt.Printf("resultOK is => %#v\n", resultOk)
if resultLog == nil || len(resultLog) == 0 {
return
}
for _, s := range resultLog {
fmt.Println(s)
}