1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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

This commit is contained in:
jhawkesworth@users.noreply.github.com 2016-04-22 18:37:31 +01:00 committed by Matt Clay
parent 3d24895606
commit b94a614b7e

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