Skip to content
Prev Previous commit
Next Next commit
Update script messages
  • Loading branch information
denrase committed Sep 18, 2023
commit fe095da9e36a28b415c0259bf2b977939b17566c
4 changes: 2 additions & 2 deletions scripts/commit-code.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ GITHUB_BRANCH="${1}"
COMMIT_MESSAGE="${2}"

if [[ $(git status) == *"nothing to commit"* ]]; then
echo "Nothing to commit. All code formatted correctly."
echo "Nothing to commit."
else
echo "Formatted some code. Going to push the changes."
echo "Changed some code. Going to push the changes."
git config --global user.name 'Sentry Github Bot'
git config --global user.email '[email protected]'
git fetch
Expand Down