Skip to content

Commit

Permalink
Removed exit codes from error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbn committed Jun 5, 2020
1 parent 6f9cf8d commit 45a8188
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ pyspelling --config $SPELLCHECK_CONFIG_FILE

EXITCODE=$?

test $EXITCODE -gt 1 && echo "($EXITCODE) Spelling check action failed, please check diagnostics";
test $EXITCODE -gt 1 && echo "Spelling check action failed, please check diagnostics";

test $EXITCODE -eq 1 && echo "($EXITCODE) Files in repository contain spelling errors";
test $EXITCODE -eq 1 && echo "Files in repository contain spelling errors";

exit $EXITCODE

0 comments on commit 45a8188

Please sign in to comment.