Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
fix problem where you couldn't compare empty strings in win_regedit f…
Browse files Browse the repository at this point in the history
…ollowing my previous change
  • Loading branch information
jhawkesworth committed Apr 22, 2016
1 parent 3031105 commit 7d9b73e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions windows/win_regedit.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7d9b73e

Please sign in to comment.