diff --git a/src/scripts/create-review.sh b/src/scripts/create-review.sh index 7cd9306..4f722dc 100644 --- a/src/scripts/create-review.sh +++ b/src/scripts/create-review.sh @@ -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