Skip to content

Fix export when the file does not exist already #726

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

Merged
merged 1 commit into from
Apr 8, 2025
Merged

Conversation

adityapatwardhan
Copy link
Member

PR Summary

This pull request includes a small change to the MakeHelpInfoXml function in the src/Microsoft.PowerShell.PlatyPS.psm1 file. The change reorders the lines where $HelpInfoContent.Save and Get-Item are called to ensure that the file is saved before it is retrieved.

PR Context

@adityapatwardhan
Copy link
Member Author

/azp run PowerShell.platyPS

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Collaborator

@sdwheeler sdwheeler left a comment

Choose a reason for hiding this comment

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

LGTM

@adityapatwardhan adityapatwardhan merged commit 68a234e into v2 Apr 8, 2025
8 checks passed
@adityapatwardhan adityapatwardhan deleted the FixExport branch April 8, 2025 19:39
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