Fix SC2199: Arrays implicitly concatenate in

main
Yogesh Lonkar 5 years ago
parent c5612e8cd2
commit c3f51bed6f
No known key found for this signature in database
GPG Key ID: A08E266247F12F6A

@ -3,7 +3,7 @@
: ${PROG:=$(basename ${BASH_SOURCE})}
_cli_bash_autocomplete() {
if [[ "${COMP_WORDS[@]:0:$COMP_CWORD}" != "source" ]]; then
if [[ "${COMP_WORDS[0]}" != "source" ]]; then
local cur opts base
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"

Loading…
Cancel
Save