Summary of the new feature
See: #15756 Unquoted numbers with two or more dots should cast to a [version] rather than $Null
When an unquoted number contains two or more dots, the second dot is seen as a member separator (rather than an illegal addition decimal separator) which causes the syntax unexpectedly to return $Null without notice:
$Version = 2.0.9
$Null -eq $Version
True
What is the latest version of PSScriptAnalyzer at the point of writing
1.19.1
Summary of the new feature
See:
#15756Unquoted numbers with two or more dots should cast to a[version]rather than$NullWhen an unquoted number contains two or more dots, the second dot is seen as a member separator (rather than an illegal addition decimal separator) which causes the syntax unexpectedly to return
$Nullwithout notice:What is the latest version of PSScriptAnalyzer at the point of writing
1.19.1