Skip to content

Commit

Permalink
Update script messages
Browse files Browse the repository at this point in the history
  • Loading branch information
denrase committed Sep 18, 2023
1 parent b19179f commit fe095da
Showing 1 changed file with 2 additions and 2 deletions.
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 'bot+github-bot@sentry.io'
git fetch
Expand Down

0 comments on commit fe095da

Please sign in to comment.