platyPS
platyPS copied to clipboard
V2 implementation does not consider ExternalScriptInfo
In TransformBase.cs the following snippet does not include ExternalScriptInfo to check for CmdletBinding. It should be included.
if ((cmdletInfo is FunctionInfo funcInfo && funcInfo.CmdletBinding) || cmdletInfo is CmdletInfo)
Steps to reproduce
Expected behavior
Actual behavior
Environment data
v0.5.0
@adityapatwardhan Does this still apply for Microsoft.PowerShell.PlatPS v1? /
Jim is rewriting parts of new-markdownhelp, it might be included.
Jim is rewriting parts of new-markdownhelp, it might be included.
This does not apply to the new version.