PowerShell / platyPS

Write PowerShell External Help in Markdown
MIT License
775 stars 151 forks source link

Fixing incorrect null-checks in Input/Output and help handling #593

Open powercode opened 1 year ago

powercode commented 1 year ago

Fixing null checks in ConvertPSObjectToMamlModel.

With the current behavior, new lines are added/removed every other run causing constant repository churn.

PR Summary

Ensures that scalar null comparison is performed without type conversion.

PR Context

Updating Markdown files without this PR resulted in a file toggling between this: image and this: image

A real annoyance because of the constant repository churn or selective reverts.