From d3f7c349b569496c8c44d9ff19f89b048169bd77 Mon Sep 17 00:00:00 2001 From: sdawley Date: Fri, 21 Jul 2023 09:40:06 -0700 Subject: [PATCH] Include midstream changes in upstream --- build/dockerfiles/import-vsix.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/dockerfiles/import-vsix.sh b/build/dockerfiles/import-vsix.sh index 2ff2c88323..68a05daf51 100755 --- a/build/dockerfiles/import-vsix.sh +++ b/build/dockerfiles/import-vsix.sh @@ -38,8 +38,8 @@ getMetadata(){ if [[ $(echo "${vsixMetadata}" | jq -r ".error") != null ]]; then echo "Attempt $j/5: Error while getting metadata for ${vsixName} version ${key}" - if [[ $j = 5 ]]; then - echo "[ERROR] Maximum attempts reached." + if [[ $j -eq 5 ]]; then + echo "[ERROR] Maximum of 5 attempts reached - must exit!" exit 1 fi continue