Bump shellcheck to 0.9.0

Fix everything it flagged.
This commit is contained in:
Tim Hockin
2023-12-10 11:19:18 -08:00
parent e5b64bdef7
commit a7cf7fe55a
10 changed files with 37 additions and 74 deletions

View File

@@ -113,7 +113,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))