Apply suggestions from code review

Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
pull/154/head
Muhammad Atif Ali 1 year ago committed by GitHub
parent 8823bf939a
commit cce4b36125
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -56,7 +56,7 @@ variable "log_path" {
variable "install_prefix" {
type = string
description = "The prefix to install vscode-web to."
default = "/tmp/vscode-server"
default = "/tmp/vscode-web"
}
variable "extensions" {

@ -20,7 +20,7 @@ case "$ARCH" in
esac
HASH=$(curl https://update.code.visualstudio.com/api/commits/stable/server-linux-$ARCH-web | cut -d '"' -f 2)
outut=$(curl -sL https://vscode.download.prss.microsoft.com/dbazure/download/stable/$HASH/vscode-server-linux-$ARCH-web.tar.gz | tar -xz -C ${INSTALL_PREFIX} --strip-components 1 && rm -rf vscode-server-linux-$ARCH-web.tar.gz)
output=$(curl -sL https://vscode.download.prss.microsoft.com/dbazure/download/stable/$HASH/vscode-server-linux-$ARCH-web.tar.gz | tar -xz -C ${INSTALL_PREFIX} --strip-components 1)
if [ $? -ne 0 ]; then
echo "Failed to install vscode-server: $output"

Loading…
Cancel
Save