Skip to content

Commit 97ac836

Browse files
shellcheck corrected
1 parent 87247ef commit 97ac836

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ if [ "$REPO_PRIVATE" != "false" ]; then
5656
-d "$BODY" \
5757
"$API_URL" -o /dev/null) && CURL_EXIT_CODE=0 || CURL_EXIT_CODE=$?
5858

59-
if [ $CURL_EXIT_CODE -ne 0 ]; then
59+
if [ "$CURL_EXIT_CODE" -ne 0 ]; then
6060
echo "Timeout or API not reachable. Continuing to next step."
6161
elif [ "$RESPONSE" = "403" ]; then
6262
echo -e "::error::\033[1;31mThis action requires a StepSecurity subscription for private repositories.\033[0m"

0 commit comments

Comments
 (0)