Skip to content

Commit

Permalink
format rebuild message
Browse files Browse the repository at this point in the history
  • Loading branch information
rongxin-liu committed Nov 7, 2024
1 parent dd3e2ab commit e5f187e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions update50.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e5f187e

Please sign in to comment.