shellcheck linting

This commit is contained in:
Jeff Billimek 2019-08-04 23:54:51 -04:00
parent 85b73933b4
commit cd9f5b725a

View File

@ -40,7 +40,7 @@ main() {
echo "Identifying changed charts since tag '$latest_tag'..."
local changed_charts=()
readarray -t changed_charts <<< "$(find $(git diff --find-renames --name-only $latest_tag_rev -- .) -type f -iname 'Chart.yaml' | cut -d '/' -f 1 | uniq)"
readarray -t changed_charts <<< "$(find "$(git diff --find-renames --name-only "$latest_tag_rev" -- .)" -type f -iname 'Chart.yaml' | cut -d '/' -f 1 | uniq)"
if [[ -n "${changed_charts[*]}" ]]; then
for chart in "${changed_charts[@]}"; do