client/container: disable shellcheck warning for DOCKER_FINANCE_DEBUG
If it's not set or set to false, then it's expected to be not true.
This commit is contained in:
@@ -23,6 +23,8 @@
|
||||
# `export DOCKER_FINANCE_DEBUG=true && . ~/.bashrc`
|
||||
#
|
||||
# and then proceed to call `docker-finance` / `dfi` with your commands.
|
||||
|
||||
# shellcheck disable=SC2154
|
||||
[ "$DOCKER_FINANCE_DEBUG" == true ] && set -xv
|
||||
|
||||
# If not yet installed, gracefully exit
|
||||
|
||||
@@ -156,6 +156,8 @@ function main()
|
||||
#
|
||||
|
||||
lib_docker::docker "$@" || lib_utils::die_usage "$_usage"
|
||||
|
||||
# shellcheck disable=SC2154
|
||||
[ "$DOCKER_FINANCE_DEBUG" == true ] && set -xv
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user