Skip to content

Commit

Permalink
Simplify getting tag from remaining arguments.
Browse files Browse the repository at this point in the history
  • Loading branch information
netomi committed Nov 6, 2023
1 parent af32edf commit 4ca6275
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tooling/release_download_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ if [ $# -ne "1" ]; then
usage
fi

# shellcheck disable=SC2124
TAG=${@:1:1}
# the tag should be the remaining argument
TAG=${1}

if [ -z "${TAG-}" ]; then
usage
Expand Down

0 comments on commit 4ca6275

Please sign in to comment.