Skip to content

Commit 2b6e32e

Browse files
authored
Fix the regex for matching 7.2.x PS versions (#3110)
1 parent b768836 commit 2b6e32e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/issue-mgmt/CloseDupIssues.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ foreach ($item in $issues)
4444

4545
if ($body.Contains("System.TypeLoadException: Could not load type 'System.Management.Automation.Subsystem.PredictionResult'") -and
4646
$body -match 'PSReadLine: 2\.2\.0-beta[12]' -and
47-
$body -match 'PowerShell: 7\.2\.0')
47+
$body -match 'PowerShell: 7\.2\.\d')
4848
{
4949
$comment = @'
5050
This issue was fixed in 2.2.0-beta3 version of PSReadLine. You can fix this by upgrading to the latest [2.2.0-beta4 version of PSReadLine](https://www.powershellgallery.com/packages/PSReadLine/2.2.0-beta4). Instructions for doing so:

0 commit comments

Comments
 (0)