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

This commit is contained in:
= 2016-04-22 18:37:31 +01:00
parent 3031105e78
commit 7d9b73ec5a

View file

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