Skip to content

Commit 4322857

Browse files
committed
fix shellcheck warnings
1 parent 0d03abc commit 4322857

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,14 @@ validate-args() {
7979

8080
if [[ -z $1 ]]; then
8181
echo "usage: $0 <goal>"
82-
# shellcheck disable=SC2059
82+
# shellcheck disable=SC1117,SC2059
8383
printf "\n$(declare -F | sed -n "s/declare -f goal_/ - /p")"
8484
exit 1
8585
fi
8686

8787
if [[ ! " $acceptable_args " =~ .*\ $1\ .* ]]; then
8888
echo "Invalid argument: $1"
89-
# shellcheck disable=SC2059
89+
# shellcheck disable=SC1117,SC2059
9090
printf "\n$(declare -F | sed -n "s/declare -f goal_/ - /p")"
9191
exit 1
9292
fi

0 commit comments

Comments
 (0)