From 1ba7aad38b77e7bb73ac44bdd8e6ae63f62bc628 Mon Sep 17 00:00:00 2001 From: Balaga Gayatri Date: Fri, 9 Sep 2022 16:29:52 +0530 Subject: [PATCH] Update Constants.ts --- src/PowerShell/Constants.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PowerShell/Constants.ts b/src/PowerShell/Constants.ts index 9613db1d..543226df 100644 --- a/src/PowerShell/Constants.ts +++ b/src/PowerShell/Constants.ts @@ -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"; @@ -10,4 +10,4 @@ export default class Constants { static readonly Success: string = "Success"; static readonly Error: string = "Error"; static readonly AzVersion: string = "AzVersion"; -} \ No newline at end of file +}