@@ -20,31 +20,31 @@ main() {
2020 cd " $( dirname " $0 " ) /../.."
2121
2222 # Check that gh is installed
23- if ! command -v gh & > /dev/null; then
23+ if ! command -v gh & > /dev/null; then
2424 echo " gh could not be found."
2525 echo " We use this with the release-github-draft.sh and release-github-assets.sh scripts."
2626 echo -e " See docs here: https://github.com/cli/cli#installation"
2727 exit
2828 fi
2929
3030 # Check that they have jq installed
31- if ! command -v jq & > /dev/null; then
31+ if ! command -v jq & > /dev/null; then
3232 echo " jq could not be found."
3333 echo " We use this to parse the package.json and grab the current version of code-server."
3434 echo -e " See docs here: https://stedolan.github.io/jq/download/"
3535 exit
3636 fi
3737
3838 # Check that they have rg installed
39- if ! command -v rg & > /dev/null; then
39+ if ! command -v rg & > /dev/null; then
4040 echo " rg could not be found."
4141 echo " We use this when updating files across the codebase."
4242 echo -e " See docs here: https://github.com/BurntSushi/ripgrep#installation"
4343 exit
4444 fi
4545
4646 # Check that they have node installed
47- if ! command -v node & > /dev/null; then
47+ if ! command -v node & > /dev/null; then
4848 echo " node could not be found."
4949 echo " That's surprising..."
5050 echo " We use it in this script for getting the package.json version"
@@ -53,7 +53,7 @@ main() {
5353 fi
5454
5555 # Check that gh is authenticated
56- if ! gh auth status -h github.com & > /dev/null; then
56+ if ! gh auth status -h github.com & > /dev/null; then
5757 echo " gh isn't authenticated to github.com."
5858 echo " This is needed for our scripts that use gh."
5959 echo -e " See docs regarding authentication: https://cli.github.com/manual/gh_auth_login"
0 commit comments