fix: shellcheck

This commit is contained in:
AUGMELO 2023-02-10 17:49:59 +00:00 committed by Brett Logan
parent c4f48873a4
commit 80ce402b36

View file

@ -654,7 +654,7 @@ CallStatusAPI() {
debug "URL: ${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/statuses/${GITHUB_SHA}" debug "URL: ${GITHUB_API_URL}/repos/${GITHUB_REPOSITORY}/statuses/${GITHUB_SHA}"
GITHUB_DOMAIN=$(echo $GITHUB_DOMAIN | sed 's~http[s]*://~~g') GITHUB_DOMAIN=$(echo "$GITHUB_DOMAIN" | cut -d '/' -f 3)
############################################## ##############################################
# Call the status API to create status check # # Call the status API to create status check #