Skip to content

Commit 4ad3d81

Browse files
committed
modified output
1 parent b46e3f3 commit 4ad3d81

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ jobs:
147147
- name: Assert thresholds
148148
run: |
149149
output=$(lhci assert --config=lighthouserc.yml 2>&1) || {
150-
echo "$output" | grep -E "url:|category:|actual:|expected:" | while IFS= read -r line; do
151-
echo "::error::$line"
150+
echo "$output" | while IFS= read -r line; do
151+
[[ -n "$line" ]] && echo "::error::$line"
152152
done
153153
exit 1
154154
}

0 commit comments

Comments
 (0)