fix(vscode-web): remove exit if extension installation fails.

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

@ -72,14 +72,12 @@ for extension in "$${EXTENSIONLIST[@]}"; do
output=$($VSCODE_WEB "$EXTENSION_ARG" --install-extension "$extension" --force)
if [ $? -ne 0 ]; then
echo "Failed to install extension: $extension: $output"
exit 1
fi
done
if [ "${AUTO_INSTALL_EXTENSIONS}" = true ]; then
if ! command -v jq > /dev/null; then
echo "jq is required to install extensions from a workspace file."
exit 0
fi
WORKSPACE_DIR="$HOME"

Loading…
Cancel
Save