mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
[Fix] Disable ShellCheck SC2207 in bash_completion line 14
This commit is contained in:
parent
7ad6d98ced
commit
fce7f4ed13
@ -10,6 +10,7 @@ __nvm_generate_completion()
|
|||||||
{
|
{
|
||||||
declare current_word
|
declare current_word
|
||||||
current_word="${COMP_WORDS[COMP_CWORD]}"
|
current_word="${COMP_WORDS[COMP_CWORD]}"
|
||||||
|
# shellcheck disable=SC2207
|
||||||
COMPREPLY=($(compgen -W "$1" -- "$current_word"))
|
COMPREPLY=($(compgen -W "$1" -- "$current_word"))
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user