-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Fix NRE in Test-Json #12942
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
Fix NRE in Test-Json #12942
Conversation
src/Microsoft.PowerShell.Commands.Utility/commands/utility/TestJsonCommand.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
consider suggestion and rebase
|
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
|
/azp run |
|
@PoshChan Please remind me 1 day |
|
Azure Pipelines successfully started running 4 pipeline(s). |
|
@TravisEz13, I do not understand: Please remind me 1 day Commands available in this repo for you:
|
|
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
|
@TravisEz13 Can you merge the PR? |
|
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
|
@TravisEz13 Friendly ping. |
|
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
src/Microsoft.PowerShell.Commands.Utility/commands/utility/TestJsonCommand.cs
Show resolved
Hide resolved
|
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
|
🎉 Handy links: |
PR Summary
Add null check.
PR Context
The issue was discovered while nullable annotating in #11397 but I believe the bug should be fixed in separate commit.
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.