diff --git a/lib/PowerShell/Constants.js b/lib/PowerShell/Constants.js index 98f75ccf..51d0a3a0 100644 --- a/lib/PowerShell/Constants.js +++ b/lib/PowerShell/Constants.js @@ -5,7 +5,7 @@ class Constants { exports.default = Constants; Constants.prefix = "az_"; Constants.moduleName = "Az.Accounts"; -Constants.versionPattern = /[0-9]\.[0-9]\.[0-9]/; +Constants.versionPattern = /[0-9]+\.[0-9]+\.[0-9]+/; Constants.AzureCloud = "AzureCloud"; Constants.Subscription = "Subscription"; Constants.ServicePrincipal = "ServicePrincipal";