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

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"