File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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
105105builtin-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
You can’t perform that action at this time.
0 commit comments