fix problem where you couldn't compare empty strings in win_regedit following my previous change

reviewable/pr18780/r1
= 9 years ago
parent 3031105e78
commit 7d9b73ec5a

@ -63,9 +63,9 @@ Function Test-RegistryValueData {
Function Compare-RegistryData { Function Compare-RegistryData {
Param ( Param (
[parameter(Mandatory=$true)] [parameter(Mandatory=$true)]
[ValidateNotNullOrEmpty()]$ReferenceData, [AllowEmptyString()]$ReferenceData,
[parameter(Mandatory=$true)] [parameter(Mandatory=$true)]
[ValidateNotNullOrEmpty()]$DifferenceData [AllowEmptyString()]$DifferenceData
) )
$refType = $ReferenceData.GetType().Name $refType = $ReferenceData.GetType().Name

Loading…
Cancel
Save