Skip to content

Commit

Permalink
Merge pull request #121 from cs50/dmalan-patch-2
Browse files Browse the repository at this point in the history
Update `update50.sh` to use cs50.dev/devcontainer.json
  • Loading branch information
rongxin-liu authored Sep 20, 2023
2 parents becf99f + 5f0c3d3 commit 7372170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update50.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Get remote JSON
remote=$(curl --fail --header "Cache-Control: no-cache" --silent --location https://cs50.dev/dist/.devcontainer.json)
remote=$(curl --fail --header "Cache-Control: no-cache" --silent --location https://cs50.dev/devcontainer.json)
if [ $? -ne 0 ]; then
echo "Could not update codespace. Try again later."
exit 1
Expand Down

0 comments on commit 7372170

Please sign in to comment.