diff --git a/hack/shellcheck.sh b/hack/shellcheck.sh index 6fbd7996bd..31c135646b 100755 --- a/hack/shellcheck.sh +++ b/hack/shellcheck.sh @@ -3,6 +3,7 @@ if [ "$IS_CONTAINER" != "" ]; then TOP_DIR="${1:-.}" find "${TOP_DIR}" \ -path "${TOP_DIR}/vendor" -prune \ + -o -path "${TOP_DIR}/cluster-api/*/vendor" -prune \ -o -path "${TOP_DIR}/terraform/*/vendor" -prune \ -o -type f -name '*.sh' -exec shellcheck --format=gcc {} \+ else