Fix stray $ in addConditionalFormatting. Updated readme

This commit is contained in:
jhoneill
2018-11-01 21:56:37 +00:00
parent d81c2055e9
commit c4ef920bdf
2 changed files with 5 additions and 1 deletions

View File

@@ -219,7 +219,7 @@
$ConditionValue = '"' + $ConditionValue +'"'
}
}
if ($PSBoundParameters.ContainsKey("$ConditionValue2")) {
if ($PSBoundParameters.ContainsKey("ConditionValue2")) {
$number = $Null
if ($ConditionValue -isnot [System.ValueType] -and [Double]::TryParse($ConditionValue2, [System.Globalization.NumberStyles]::Any, [System.Globalization.NumberFormatInfo]::CurrentInfo, [Ref]$number) ) {
$ConditionValue2 = $number