Skip to content

Commit

Permalink
fix: use regex operator
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleTryon committed Sep 23, 2022
1 parent 84f1bdd commit 9d7779a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scripts/create-review.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ function get_artifacts {
_jq() {
echo "${row}" | jq -r "${1}"
}
if [[ $(_jq '.path') == "$PARAM_ARTIFACT_PATTERN" ]]; then
# shellcheck disable=SC2053
if [[ $(_jq '.path') == $PARAM_ARTIFACT_PATTERN ]]; then
ARTIFACT_LOCATION=$(_jq '.url')
echo "Using ${ARTIFACT_LOCATION} as artifact."
return 0
Expand Down

0 comments on commit 9d7779a

Please # to comment.