diff --git a/templater/scripts/verify-prowjobs.sh b/templater/scripts/verify-prowjobs.sh index c51f9e15b..c695d3f3e 100755 --- a/templater/scripts/verify-prowjobs.sh +++ b/templater/scripts/verify-prowjobs.sh @@ -4,7 +4,7 @@ set -o pipefail REPO_ROOT=$(git rev-parse --show-toplevel) -DIFF_LINE_COUNT=$(git diff $REPO_ROOT/jobs ':(exclude)*-1-23-*' | wc -l) +DIFF_LINE_COUNT=$(git diff --name-only $REPO_ROOT/jobs ':(exclude)*-1-23-*' | wc -l) if [ $DIFF_LINE_COUNT -ne 0 ]; then CHANGED_FILES=$(git diff --name-only $REPO_ROOT/jobs ':(exclude)*-1-23-*') git diff $REPO_ROOT/jobs ':(exclude)*-1-23-*'