Add more output when skipping vscode setup

Printing only an error-type message without information about what
happens afterward is not the most helpful. This commit adds a message
indicating that vscode setup is skipped so that at least that feedback
is provided.
master
Jordan Atwood 2 years ago
parent ad9ad1f6e0
commit ad98e9edea
Signed by: nightfirecat
GPG Key ID: 615A619C2D73A6DF
  1. 2
      vscode.sh

@ -29,9 +29,11 @@ esac
if [[ ! -d "$VSCODE_CONFIG_PATH" ]]; then if [[ ! -d "$VSCODE_CONFIG_PATH" ]]; then
echo "Could not locate vscode config path (expected at '$VSCODE_CONFIG_PATH')" echo "Could not locate vscode config path (expected at '$VSCODE_CONFIG_PATH')"
echo "Skipping vscode setup"
return return
elif ! type "${VSCODE_BINARY[0]}" >/dev/null 2>/dev/null; then elif ! type "${VSCODE_BINARY[0]}" >/dev/null 2>/dev/null; then
echo "Could not identify vscode binary (expected '${VSCODE_BINARY[*]}')" echo "Could not identify vscode binary (expected '${VSCODE_BINARY[*]}')"
echo "Skipping vscode setup"
return return
fi fi

Loading…
Cancel
Save