Skip to content

Commit

Permalink
fix: replace missing platform variable
Browse files Browse the repository at this point in the history
  • Loading branch information
daiyam committed Nov 4, 2024
1 parent e2d0d38 commit 7efa9b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package_linux_bin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ elif [[ "${VSCODE_ARCH}" == "riscv64" ]]; then
export VSCODE_SKIP_SETUPENV=1
fi

if [[ -f "../electron_${VSCODE_PLATFORM}_${VSCODE_ARCH}.sh" ]]; then
if [[ -f "../electron_linux_${VSCODE_ARCH}.sh" ]]; then
# shellcheck disable=SC1090
source "../electron_${VSCODE_PLATFORM}_${VSCODE_ARCH}.sh"
source "../electron_linux_${VSCODE_ARCH}.sh"

if [[ "${ELECTRON_VERSION}" != "$( yarn config get target )" ]]; then
# Fail the pipeline if electron target doesn't match what is used.
Expand Down

0 comments on commit 7efa9b6

Please sign in to comment.