Skip to content

Commit e5f187e

Browse files
committed
format rebuild message
1 parent dd3e2ab commit e5f187e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

update50.sh

+4-3
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,14 @@ if [ "$1" == "-t" ]; then
2929

3030
# Use gh cli to rebuild if available
3131
gh cs rebuild --repo $GITHUB_REPOSITORY --full
32-
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."
32+
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"
3333
else
34-
34+
3535
# Fall back to command50
3636
command50 github.codespaces.rebuildEnvironment
3737
fi
3838

39+
3940
exit 0
4041
fi
4142

@@ -73,7 +74,7 @@ if [ "$remote" != "$local" ] || [ "$tag" != "$issue" ] || [ "$1" == "-f" ] || [
7374

7475
# Use gh cli to rebuild if available
7576
gh cs rebuild --repo $GITHUB_REPOSITORY --full
76-
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."
77+
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"
7778
else
7879

7980
# Fall back to command50

0 commit comments

Comments
 (0)