Closed anwather closed 7 years ago
This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request. Thanks, Microsoft Pull Request Bot
Added logic to test if required groups is null. The line $data = $ast.Find( { $args[0] -is [System.Management.Automation.Language.HashtableAst] }, $false ) returns no object if RequiredGroups contains no values.
Agree with the elseif - was trying to avoid running the ConvertStringToHashtable ComplexObjectsEqual in this case.
@rpsqrd Please have a look at the changes added to fix the null condition
This change is