Small fix in syntax

This commit is contained in:
Maksim Petrov
2020-06-28 21:08:18 +03:00
parent 52610e17ba
commit 7a2c4871fc
3 changed files with 3 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ if isUbuntu20 ; then
versions=$(pwsh -Command '(Find-Module -Name Az).Version')
else
toolsetJson="$INSTALLER_SCRIPT_FOLDER/toolset.json"
versions=$(cat $toolsetJson | jq -r '.azureModules[] | select(.name | contains("Az")) | .versions[]')
versions=$(cat $toolsetJson | jq -r '.azureModules[] | select(.name | contains("az")) | .versions[]')
fi
# Install Azure CLI (instructions taken from https://docs.microsoft.com/en-us/cli/azure/install-azure-cli)