@@ -15,7 +15,7 @@ main() {
1515
1616 # Ask which version we should update to
1717 # In the future, we'll automate this and grab the latest version automatically
18- read -p " What version of VSCode would you like to update to? (i.e. 1.52) " VSCODE_VERSION_TO_UPDATE
18+ read -p " What version of VSCode would you like to update to? (i.e. 1.52) " VSCODE_VERSION_TO_UPDATE
1919
2020 # Check that this version exists
2121 if [[ -z $( git ls-remote --heads vscode release/$VSCODE_VERSION_TO_UPDATE ) ]]; then
@@ -29,10 +29,10 @@ main() {
2929
3030 # Check if GitHub CLI is installed
3131 if ! command -v gh & > /dev/null; then
32- echo " GitHub CLI could not be found."
33- echo " If you install it before you run this script next time, we'll open a draft PR for you!"
34- echo -e " See docs here: https://github.com/cli/cli#installation\n"
35- exit
32+ echo " GitHub CLI could not be found."
33+ echo " If you install it before you run this script next time, we'll open a draft PR for you!"
34+ echo -e " See docs here: https://github.com/cli/cli#installation\n"
35+ exit
3636 fi
3737
3838 # Push branch to remote if not already pushed
@@ -49,7 +49,6 @@ main() {
4949 # To read about these flags, visit the docs: https://cli.github.com/manual/gh_pr_create
5050 gh pr create --base master --title " feat(vscode): update to version $VSCODE_VERSION_TO_UPDATE " --body " This PR updates vscode to version: $VSCODE_VERSION_TO_UPDATE " --reviewer @cdr/code-server-reviewers --repo cdr/code-server --draft
5151
52-
5352 echo " Going to try to update vscode for you..."
5453 echo -e " Running: git subtree pull --prefix lib/vscode vscode release/${VSCODE_VERSION_TO_UPDATE} --squash\n"
5554 # Try to run subtree update command
0 commit comments