We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da64fcb commit 9761df1Copy full SHA for 9761df1
hack/check-generate.sh
@@ -68,7 +68,7 @@ if which git &>/dev/null; then
68
69
old_status="$(git status -s)"
70
71
- if ! out=$(rm -rf hack/tools/bin/ 2>&1); then
+ if ! out=$(rm -rf hack/tools/bin/* 2>&1); then
72
echo "Error while cleaning hack/tools/bin/: $out"
73
exit 1
74
fi
@@ -81,6 +81,8 @@ if which git &>/dev/null; then
81
82
new_status="$(git status -s)"
83
84
+ git diff
85
+
86
if [[ "$old_status" != "$new_status" ]]; then
87
echo "make generate needs to be run:"
88
echo "$new_status"
0 commit comments