Skip to content

Commit

Permalink
Fix version regex in Add-Extension
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Jul 1, 2024
1 parent 2e947f1 commit 594bd59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/extensions/add_extensions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Function Add-Extension {
$stability = 'stable',
[Parameter(Position = 2, Mandatory = $false)]
[ValidateNotNull()]
[ValidatePattern('^\d+(\.\d+){0,2}$')]
[ValidatePattern('^\d+(\.\d+){0,3}$')]
[string]
$extension_version = ''
)
Expand Down Expand Up @@ -257,4 +257,4 @@ Function Disable-AllShared() {
# Function to handle request to add PECL.
Function Add-Pecl() {
Add-Log $tick "PECL" "Use extensions input to setup PECL extensions on windows"
}
}

0 comments on commit 594bd59

Please sign in to comment.