fix(lab): a build whose last task was up to date no longer counts as failed

This commit is contained in:
Kurt Himebauch committed 2026-11-09 23:59:53 -05:00
1 parent f638979507
commit 05efdf61d8
1 file changed
+1 -1
+1 -1
View File
@@ -170,7 +170,7 @@ set +o pipefail
[ $ran = 1 ] && report >/dev/null && echo "[build $n/$total] $task" ;;
esac
done
[ -n "$task" ] && [ $ran = 1 ] && echo "$task $(( $(date +%s) - since ))" >> "$measured"
if [ -n "$task" ] && [ $ran = 1 ]; then echo "$task $(( $(date +%s) - since ))" >> "$measured"; fi
}
status=${PIPESTATUS[0]}
set -o pipefail