We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
head
1 parent 660bde7 commit 650f509Copy full SHA for 650f509
hooks/command
@@ -81,7 +81,7 @@ if [ $has_errors -eq 0 ]; then
81
fi
82
83
if [[ -e "${annotation_path}" ]]; then
84
- TOTAL_TESTS=$(head -4 "${annotation_path}" | grep 'Total tests' | cut -d\ -f3)
+ TOTAL_TESTS=$(head -5 "${annotation_path}" | grep 'Total tests' | cut -d\ -f3)
85
else
86
TOTAL_TESTS=0
87
@@ -96,7 +96,7 @@ elif ! check_size; then
96
97
# creating a simplified version of the annotation
98
mv "${annotation_path}" "${annotation_path}2"
99
- head -4 "${annotation_path}2" >"${annotation_path}"
+ head -5 "${annotation_path}2" >"${annotation_path}"
100
# || true is to avoid issues if no summary is found
101
grep '<summary>' "${annotation_path}2" >>"${annotation_path}" || true
102
0 commit comments