Skip to content

Commit

Permalink
don't print abort message when changes are irreversible
Browse files Browse the repository at this point in the history
  • Loading branch information
ulfaslak committed Oct 8, 2024
1 parent 84472e8 commit 811b948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ validate_repo_url() {
}

exit_gracefully() {
echo -e "\n\033[31mAboring Setup:\033[0m"
if [ "$reversible_changes" = true ]; then
echo -e "\n\033[31mAboring Setup:\033[0m"
echo -e " Reverting changes, try again:"
execute_command "git reset --hard && git clean -fd"
fi
Expand Down

0 comments on commit 811b948

Please sign in to comment.