From f3a829d0fbd535de7006f4e8769da7dc2ec6940a Mon Sep 17 00:00:00 2001 From: sdawley Date: Mon, 17 Jul 2023 17:38:09 -0700 Subject: [PATCH] was already used so switch to j --- 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 5e1839d3c7..e435d41fff 100755 --- a/build/dockerfiles/import-vsix.sh +++ b/build/dockerfiles/import-vsix.sh @@ -32,11 +32,11 @@ getMetadata(){ key=$2 # check there is no error field in the metadata and retry if there is - for i in 1 2 3 4 5 + for j in 1 2 3 4 5 do vsixMetadata=$(curl -sLS "https://open-vsx.org/api/${vsixName}/${key}") if [[ $(echo "${vsixMetadata}" | jq -r ".error") != null ]]; then - echo "Attempt $i/5: Error while getting metadata for ${vsixFullName} version ${key}" + echo "Attempt $j/5: Error while getting metadata for ${vsixName} version ${key}" continue else break