Skip to content

Commit

Permalink
[BUG FIX] Version pattern quickfix releases (#245)
Browse files Browse the repository at this point in the history
* Update Constants.js

* Update Constants.ts
  • Loading branch information
BALAGA-GAYATRI authored Sep 9, 2022
1 parent 24848bc commit 92a5484
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/PowerShell/Constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
4 changes: 2 additions & 2 deletions src/PowerShell/Constants.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default class Constants {
static readonly prefix: string = "az_";
static readonly moduleName: string = "Az.Accounts";
static readonly versionPattern = /[0-9]\.[0-9]\.[0-9]/;
static readonly versionPattern = /[0-9]+\.[0-9]+\.[0-9]+/;

static readonly AzureCloud: string = "AzureCloud";
static readonly Subscription: string = "Subscription";
Expand All @@ -10,4 +10,4 @@ export default class Constants {
static readonly Success: string = "Success";
static readonly Error: string = "Error";
static readonly AzVersion: string = "AzVersion";
}
}

0 comments on commit 92a5484

Please sign in to comment.