Skip to content

Commit

Permalink
Fix the PowerShell version regex matching, again (#3113)
Browse files Browse the repository at this point in the history
  • Loading branch information
daxian-dbw authored Dec 17, 2021
1 parent 2b6e32e commit 15850a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tools/issue-mgmt/CloseDupIssues.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ foreach ($item in $issues)
Write-Host "Issue: $root_url/$number" -ForegroundColor Green

if ($body.Contains("System.TypeLoadException: Could not load type 'System.Management.Automation.Subsystem.PredictionResult'") -and
$body -match 'PSReadLine: 2\.2\.0-beta[12]' -and
$body -match 'PowerShell: 7\.2\.\d')
$body -match 'PSReadLine: 2\.2\.0-beta[12]')
{
$comment = @'
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:
Expand Down

0 comments on commit 15850a4

Please sign in to comment.