Fix shellcheck disable placement.
This commit is contained in:
parent
0e1baf4255
commit
91e9038bda
1 changed files with 1 additions and 1 deletions
|
@ -83,10 +83,10 @@ while getopts "$short_options" arg; do
|
||||||
case "$arg" in
|
case "$arg" in
|
||||||
p)
|
p)
|
||||||
# source plugin file
|
# source plugin file
|
||||||
# shellcheck disable=SC1090 # disable cannot follow source
|
|
||||||
sourced=false
|
sourced=false
|
||||||
for loc in $TARBACK_PLUGIN_SEARCH_PATH; do
|
for loc in $TARBACK_PLUGIN_SEARCH_PATH; do
|
||||||
if [ -e "$loc/tarback/$OPTARG.sh" ]; then
|
if [ -e "$loc/tarback/$OPTARG.sh" ]; then
|
||||||
|
# shellcheck disable=SC1090 # disable cannot follow source
|
||||||
. "$loc/tarback/$OPTARG.sh"
|
. "$loc/tarback/$OPTARG.sh"
|
||||||
sourced=true
|
sourced=true
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue