Fix the regex for matching 7.2.x PS versions (#3110)

This commit is contained in:
Dongbo Wang
2021-12-16 10:03:36 -08:00
committed by GitHub
parent b76883665b
commit 2b6e32e369
+1 -1
View File
@@ -44,7 +44,7 @@ foreach ($item in $issues)
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\.0')
$body -match 'PowerShell: 7\.2\.\d')
{
$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: