1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 15:47:14 +01:00

hack/shellcheck: update for cluster-api folder

Signed-off-by: Vince Prignano <vincepri@redhat.com>
This commit is contained in:
Vince Prignano
2023-10-20 15:41:58 -07:00
parent 89a31f886e
commit d33bede015

View File

@@ -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