Skip to content

Commit c5be161

Browse files
committed
use codespace flag in gh cs command only
1 parent a07a78f commit c5be161

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

update50.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ if [ "$1" == "-t" ]; then
2828
if command -v gh &> /dev/null; then
2929

3030
# Use gh cli to rebuild if available
31-
gh cs rebuild --repo $GITHUB_REPOSITORY --codespace $CODESPACE_NAME --full
31+
gh cs rebuild --codespace $CODESPACE_NAME --full
3232
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
3434

@@ -73,7 +73,7 @@ if [ "$remote" != "$local" ] || [ "$tag" != "$issue" ] || [ "$1" == "-f" ] || [
7373
if command -v gh &> /dev/null; then
7474

7575
# Use gh cli to rebuild if available
76-
gh cs rebuild --repo $GITHUB_REPOSITORY --codespace $CODESPACE_NAME --full
76+
gh cs rebuild --codespace $CODESPACE_NAME --full
7777
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"
7878
else
7979

0 commit comments

Comments
 (0)