chore(log): remove prefix out: and err: prefix (#287)

- Simplify log output by removing "out:" and "err:" prefixes in `plugin.go`
- Update test expectations to match the new log output format

Signed-off-by: appleboy <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2024-11-17 14:48:14 +08:00
committed by GitHub
parent 2c52afb7fd
commit 883f947b4f
2 changed files with 27 additions and 27 deletions
+2 -2
View File
@@ -145,11 +145,11 @@ loop:
break loop
case outline := <-stdoutChan:
if outline != "" {
p.log(host, "out:", outline)
p.log(host, outline)
}
case errline := <-stderrChan:
if errline != "" {
p.log(host, "err:", errline)
p.log(host, errline)
}
case err = <-errChan:
}