chore: make it more verbose
Cross-Compile Binaries / compile-linux (push) Failing after 17m9s
Lint Golang Files / Golang-Lint (push) Successful in 17m27s
Cross-Compile Binaries / compile-windows (push) Has been cancelled

This commit is contained in:
DaanSelen
2026-04-02 12:20:44 +02:00
parent d2781c0247
commit 6f132eb589
+3
View File
@@ -68,12 +68,15 @@ func RunMeshbook(binPath, bookPath string, silent bool, targGroup string) (bool,
outputData, err := cmd.CombinedOutput()
cleanData := ansi.ReplaceAllString(string(outputData), "")
log.Println("evaluating returned state")
if err != nil {
log.Printf("something went wrong when running the command: %v", err)
log.Printf("captured output: %s", cleanData)
return false, cleanData
} else {
log.Printf("captured output: %s", cleanData)
return true, cleanData
}
}