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

pull/18777/head
jhawkesworth@users.noreply.github.com 9 years ago committed by Matt Clay
parent 3d24895606
commit b94a614b7e

@ -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