ci(fix): try to color only [err] log as red

This commit is contained in:
Constrat
2025-09-15 01:36:04 +02:00
parent 80511c660f
commit 30bb86bade

View File

@@ -34,7 +34,7 @@ done
if [[ ${#error_clients} -gt 0 ]]; then
for client in "${error_clients[@]}"; do
while IFS= read -r line; do
if [[ "$line" =~ (\[ERR\]) ]]; then
if [[ "$line" == *"[ERR]"* ]]; then
print -P "%F{red}${line}%f"
else
echo "$line"