From ebdf0840f45d10b88b32fcbc4c0d5e5a37538fe7 Mon Sep 17 00:00:00 2001 From: Karl Isenberg Date: Tue, 2 Jan 2024 16:31:14 -0800 Subject: [PATCH] chore: ignore self-assignment lint for validation (#1093) --- scripts/install-helm.sh | 2 ++ scripts/install-kustomize.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/scripts/install-helm.sh b/scripts/install-helm.sh index 5200752536..247ff82d17 100755 --- a/scripts/install-helm.sh +++ b/scripts/install-helm.sh @@ -19,7 +19,9 @@ REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)" cd "${REPO_ROOT}" # Required environment variables +# shellcheck disable=SC2269 # validate non-null with errexit + nounset HELM_VERSION=${HELM_VERSION} +# shellcheck disable=SC2269 # validate non-null with errexit + nounset INSTALL_DIR=${INSTALL_DIR} # Optional environment variables diff --git a/scripts/install-kustomize.sh b/scripts/install-kustomize.sh index be606a2393..238579c1a7 100755 --- a/scripts/install-kustomize.sh +++ b/scripts/install-kustomize.sh @@ -19,7 +19,9 @@ REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd -P)" cd "${REPO_ROOT}" # Required environment variables +# shellcheck disable=SC2269 # validate non-null with errexit + nounset KUSTOMIZE_VERSION=${KUSTOMIZE_VERSION} +# shellcheck disable=SC2269 # validate non-null with errexit + nounset INSTALL_DIR=${INSTALL_DIR} # Optional environment variables