Skip to content

Commit

Permalink
fix exit code handling
Browse files Browse the repository at this point in the history
  • Loading branch information
haya14busa committed Sep 25, 2021
1 parent 7a4e9d7 commit fbc7939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ echo "EXIT_CODE_SUGGESTION: ${EXIT_CODE_SUGGESTION}"

echo '::endgroup::'

if [ "${EXIT_CODE}" != 0 ] || [ "${EXIT_CODE_SUGGESTION}" != 0 ]; then
if [ -n "${EXIT_CODE}" ] || [ -n "${EXIT_CODE_SUGGESTION}" ]; then
exit 1
fi

0 comments on commit fbc7939

Please sign in to comment.