Skip to content

Commit 5dcf958

Browse files
fix: use canonical .INPUTS/.OUTPUTS format in scaffold function
Per about_Comment_Based_Help and the PS engine source (HelpCommentsParser.cs): - .INPUTS documents pipeline input only; canonical no-pipeline text is 'None. You can't pipe objects to CommandName.' - .OUTPUTS must use the fully-qualified .NET type name (System.String), not the PowerShell type accelerator ([string]) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 157c089 commit 5dcf958

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/functions/public/Get-PSModuleTest.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ function Get-PSModuleTest {
1313
Hello, World!
1414
1515
.INPUTS
16-
None. This function does not accept pipeline input.
16+
None. You can't pipe objects to Get-PSModuleTest.
1717
1818
.OUTPUTS
19-
[string] A greeting string.
19+
System.String. A greeting string for the given name.
2020
#>
2121
[OutputType([string])]
2222
[CmdletBinding()]

0 commit comments

Comments
 (0)