diff --git a/lib/linter.sh b/lib/linter.sh index 58b43157..79af7fe5 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -1082,7 +1082,7 @@ Footer() { #################################################### # Need to clean up the lanuage array of duplicates # #################################################### - UNIQUE_LINTED_ARRAY=($(for LANG in "${LINTED_LANGUAGES_ARRAY[@]}"; do echo "${LANG}"; done | sort -u)) + mapfile -t UNIQUE_LINTED_ARRAY < <(for LANG in "${LINTED_LANGUAGES_ARRAY[@]}"; do echo "${LANG}"; done | sort -u) ############################## # Prints for errors if found #