diff --git a/.gitlab-ci/check-commit-log.sh b/.gitlab-ci/check-commit-log.sh
index 00fd89388..ac74b9bdc 100755
--- a/.gitlab-ci/check-commit-log.sh
+++ b/.gitlab-ci/check-commit-log.sh
@@ -38,7 +38,7 @@ function append_passed_test_case() {
function generate_junit_report() {
junit_report_file="$1"
num_tests=$(cat "$JUNIT_REPORT_TESTS_FILE" | wc -l)
- num_failures=$(grep '' "$JUNIT_REPORT_TESTS_FILE" | wc -l )
+ num_failures=$(grep '