diff --git a/update50.sh b/update50.sh index 132976ea..e90ff528 100644 --- a/update50.sh +++ b/update50.sh @@ -29,13 +29,14 @@ if [ "$1" == "-t" ]; then # Use gh cli to rebuild if available gh cs rebuild --repo $GITHUB_REPOSITORY --full - echo "Your codespace is now being rebuilt, please keep the browser window open and wait for it to reload.\nDo not perform any actions until the rebuild is complete." + echo -e "\033[31mYour codespace is now being rebuilt, please keep the browser window open and wait for it to reload.\nDo not perform any actions until the rebuild is complete.\033[0m" else - + # Fall back to command50 command50 github.codespaces.rebuildEnvironment fi + exit 0 fi @@ -73,7 +74,7 @@ if [ "$remote" != "$local" ] || [ "$tag" != "$issue" ] || [ "$1" == "-f" ] || [ # Use gh cli to rebuild if available gh cs rebuild --repo $GITHUB_REPOSITORY --full - echo "Your codespace is now being rebuilt, please keep the browser window open and wait for it to reload.\nDo not perform any actions until the rebuild is complete." + echo -e "\033[31mYour codespace is now being rebuilt, please keep the browser window open and wait for it to reload.\nDo not perform any actions until the rebuild is complete.\033[0m" else # Fall back to command50