diff --git a/hack/verify-codegen.sh b/hack/verify-codegen.sh index 645710ba28a..1d642f4c191 100755 --- a/hack/verify-codegen.sh +++ b/hack/verify-codegen.sh @@ -38,6 +38,7 @@ cp -aR "${REPO_ROOT_DIR}/Gopkg.lock" "${REPO_ROOT_DIR}/pkg" "${REPO_ROOT_DIR}/ve echo "Diffing ${REPO_ROOT_DIR} against freshly generated codegen" ret=0 diff -Naupr "${REPO_ROOT_DIR}/pkg" "${TMP_DIFFROOT}/pkg" || ret=1 +diff -Naupr --no-dereference "${REPO_ROOT_DIR}/vendor" "${TMP_DIFFROOT}/vendor" || ret=1 # Restore working tree state rm -fr "${REPO_ROOT_DIR}/Gopkg.lock" "${REPO_ROOT_DIR}/pkg" "${REPO_ROOT_DIR}/vendor"