platyPS icon indicating copy to clipboard operation
platyPS copied to clipboard

V2 implementation does not consider ExternalScriptInfo

Open adityapatwardhan opened this issue 4 years ago • 3 comments

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 avatar May 07 '21 00:05 adityapatwardhan

@adityapatwardhan Does this still apply for Microsoft.PowerShell.PlatPS v1? /

sdwheeler avatar May 24 '24 16:05 sdwheeler

Jim is rewriting parts of new-markdownhelp, it might be included.

adityapatwardhan avatar May 24 '24 16:05 adityapatwardhan

Jim is rewriting parts of new-markdownhelp, it might be included.

adityapatwardhan avatar May 24 '24 16:05 adityapatwardhan

This does not apply to the new version.

sdwheeler avatar Mar 10 '25 19:03 sdwheeler