Merge pull request #278 from mztriz/patch-1

Use cd ... || exit in case cd fails.
This commit is contained in:
Peter Squicciarini 2019-12-19 22:08:09 -08:00 committed by GitHub
commit 4612db050a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,7 +13,7 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
echo "BUILD_SOURCEVERSION: ${BUILD_SOURCEVERSION}"
cp -rp src/* vscode/
cd vscode
cd vscode || exit
export npm_config_arch="$BUILDARCH"
export npm_config_target_arch="$BUILDARCH"