mirror of
https://github.com/spf13/cobra
synced 2025-05-05 21:07:24 +00:00
Fix shellcheck
Before this change: In - line 204: declare -F $next_command >/dev/null && $next_command ^-- SC2086: Double quote to prevent globbing and word splitting. --- FAIL: TestBashCompletions (0.34s) bash_completions_test.go:138: shellcheck failed: exit status 1
This commit is contained in:
parent
6421115516
commit
f2b7c790dd
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ __handle_command()
|
||||||
fi
|
fi
|
||||||
c=$((c+1))
|
c=$((c+1))
|
||||||
__debug "${FUNCNAME[0]}: looking for ${next_command}"
|
__debug "${FUNCNAME[0]}: looking for ${next_command}"
|
||||||
declare -F $next_command >/dev/null && $next_command
|
declare -F "$next_command" >/dev/null && $next_command
|
||||||
}
|
}
|
||||||
|
|
||||||
__handle_word()
|
__handle_word()
|
||||||
|
|
Loading…
Add table
Reference in a new issue