diff --git a/.gitlab-ci/check-commit-log.sh b/.gitlab-ci/check-commit-log.sh
index b6ca39767..f2b9c36ef 100755
--- a/.gitlab-ci/check-commit-log.sh
+++ b/.gitlab-ci/check-commit-log.sh
@@ -46,7 +46,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 '