Do not error on vscode lookup failure

For a system which does not have a VSCode installation, other parts of
setup should still be attempted even if these particular configs can't
be put in place.
master
Jordan Atwood 2 years ago
parent 7d2455e7bf
commit b0d04606f0
Signed by: nightfirecat
GPG Key ID: 615A619C2D73A6DF
  1. 4
      vscode.sh

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

Loading…
Cancel
Save