Merge pull request #122769 from thockin/bump_shellcheck_version

Bump shellcheck to 0.9.0
This commit is contained in:
Kubernetes Prow Robot
2024-02-05 08:45:29 -08:00
committed by GitHub
10 changed files with 37 additions and 74 deletions

View File

@@ -114,7 +114,7 @@ function is-explicitly-chosen {
index=0
for e in "${TARGET_LIST[@]}"; do
if [[ "${e}" == "${name}" ]]; then
TARGET_LIST[${index}]=""
TARGET_LIST[index]=""
return
fi
index=$((index + 1))