From 532a5e8fba31e293978ea90a0a97b28f96f2e689 Mon Sep 17 00:00:00 2001 From: Kyle T <33272306+KyleTryon@users.noreply.github.com> Date: Fri, 29 Apr 2022 09:52:08 -0400 Subject: [PATCH] fix: missing redirect for RC006 (#147) --- src/scripts/review.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/review.bats b/src/scripts/review.bats index f403a62a..760c37e5 100644 --- a/src/scripts/review.bats +++ b/src/scripts/review.bats @@ -75,7 +75,7 @@ setup() { skip fi SOURCE_URL=$(yq '.display.source_url' "${REVIEW_TEST_DIR}/src/@orb.yml") - HTTP_RESPONSE=$(curl -s -o /dev/null -w "%{http_code}" --retry 5 --retry-delay 5 "$SOURCE_URL") + HTTP_RESPONSE=$(curl -s -L -o /dev/null -w "%{http_code}" --retry 5 --retry-delay 5 "$SOURCE_URL") if [[ "$HTTP_RESPONSE" -ne 200 ]]; then echo echo "Source URL: \"$SOURCE_URL\" is not reachable."