Skip to content

Commit c01a93a

Browse files
committed
add a verpose diff output to prow test
1 parent 7591346 commit c01a93a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile-plugins.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ generate-kustomize-builtin-plugins: $(builtplugins)
9999
go generate .; \
100100
done
101101

102-
# Check for diff by comparing current revision of generated plugins on HEAD and newly generated plugins on local branch,
102+
# Check for diff by comparing current revision of generated plugins on HEAD and newly generated plugins on local branch,
103103
# If diff is found, throw error code 1
104104
.PHONY: builtin-plugins-diff
105105
builtin-plugins-diff: $(builtplugins)
@@ -108,6 +108,7 @@ builtin-plugins-diff: $(builtplugins)
108108
set -e ; \
109109
if [ "`git diff $${file} | wc -c`" -gt 0 ]; then\
110110
echo "Error(1): diff found on $${file}"; exit 1; \
111+
git diff $${file};\
111112
fi \
112113
done
113114

0 commit comments

Comments
 (0)