Skip to content

Conversation

@SteveL-MSFT
Copy link
Member

PR Summary

Issue was caught by static analysis. Ignore the whitespace changes.

There might be a chance that $validateProperty is $null so need to check that before accessing the member

@SteveL-MSFT SteveL-MSFT marked this pull request as ready for review April 28, 2025 21:55
Copy link
Member

@mgreenegit mgreenegit left a comment

Choose a reason for hiding this comment

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

Looks like a simple change. The rest appears to be autoformats.

@SteveL-MSFT SteveL-MSFT merged commit 7f90fbb into PowerShell:main May 1, 2025
4 checks passed
@SteveL-MSFT SteveL-MSFT changed the title Add check in PS Adapter in case proeprty is $null Add check in PS Adapter in case property is $null May 1, 2025
@SteveL-MSFT SteveL-MSFT deleted the psadapter-check branch May 1, 2025 19:03
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.

2 participants