1
0
mirror of https://github.com/nvm-sh/nvm.git synced 2025-09-25 11:12:59 +08:00

[Fix] Disable ShellCheck SC2207 in bash_completion line 14

This commit is contained in:
Peter Dave Hello 2017-12-09 17:47:14 +08:00
parent 7ad6d98ced
commit fce7f4ed13

View File

@ -10,6 +10,7 @@ __nvm_generate_completion()
{
declare current_word
current_word="${COMP_WORDS[COMP_CWORD]}"
# shellcheck disable=SC2207
COMPREPLY=($(compgen -W "$1" -- "$current_word"))
return 0
}