Skip to content

Commit

Permalink
Check number of parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
qligier committed Apr 29, 2023
1 parent e8d1758 commit 666fea9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions check_inputs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ set -o errexit # abort on nonzero exit status
set -o nounset # abort on unbound variable
set -o pipefail # don't hide errors within pipes

if [[ $# -ne 2 ]]; then
echo "::error::Illegal number of parameters"
fi

IG_PUBLISHER_VERSION=$1
SUSHI_VERSION=$2

Expand Down

0 comments on commit 666fea9

Please sign in to comment.