fix conditions

pull/318/head
Muhammad Atif Ali 9 months ago committed by GitHub
parent 072538d383
commit 0b8f130b73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -78,8 +78,7 @@ done
if [ "${AUTO_INSTALL_EXTENSIONS}" = true ]; then if [ "${AUTO_INSTALL_EXTENSIONS}" = true ]; then
if ! command -v jq > /dev/null; then if ! command -v jq > /dev/null; then
echo "jq is required to install extensions from a workspace file." echo "jq is required to install extensions from a workspace file."
fi else
WORKSPACE_DIR="$HOME" WORKSPACE_DIR="$HOME"
if [ -n "${FOLDER}" ]; then if [ -n "${FOLDER}" ]; then
WORKSPACE_DIR="${FOLDER}" WORKSPACE_DIR="${FOLDER}"
@ -92,6 +91,7 @@ if [ "${AUTO_INSTALL_EXTENSIONS}" = true ]; then
$VSCODE_WEB "$EXTENSION_ARG" --install-extension "$extension" --force $VSCODE_WEB "$EXTENSION_ARG" --install-extension "$extension" --force
done done
fi fi
fi
fi fi
run_vscode_web run_vscode_web

Loading…
Cancel
Save