Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare-PSCustomObjectArrays: Allow empty arrays as input #4953

Merged
merged 2 commits into from
Aug 21, 2024

Conversation

ricmestre
Copy link
Contributor

Pull Request (PR) description

Function Compare-PSCustomObjectArrays in M365DSCUtil must allow empty arrays as input otherwise it may fail.

This fix was actually already in but disappeared during the merge of my patch c274781 for something else not related, this PR puts the fix back in.

This Pull Request (PR) fixes the following issues

Copy link
Member

@ykuijs ykuijs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ykuijs ykuijs merged commit aceb594 into microsoft:Dev Aug 21, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test-M365DSCParameterState: Function can fail when calling Compare-PSCustomObjectArrays
2 participants