You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Import should be able to parse each section of the markdown and assign null values to the description values in each section.
Actual behavior
As you can see from the output, when SYNOPSIS is empty the syntax isn't found. Also, the Description property contain the EXAMPLE text when it should be empty. Depending which section is missing a description, errors cascade from there. In this example, the diagnostic data shows errors, but that doesn't always occur depending on what is missing.See the attached file that I used to test.
Error details
PS> $c.Diagnostics.MessagesSource Severity Message Identifier Line------ -------- ------- ---------- ----Metadata Information {Metadata} found 'external help file' 1Metadata Information {Metadata} found 'Locale' 1Metadata Information {Metadata} found 'Module Name' 1Metadata Information {Metadata} found 'ms.date' 1Metadata Information {Metadata} found 'HelpUri' 1Metadata Information {Metadata} found 'PlatyPS schema version' 1Metadata Information {Metadata} found 'title' 1General Information {CmdletBinding is present} GetCmdletBindingState 97General Information {Workflow parameters not present} GetWorkflowCommonParameterState -1Synopsis Information {SYNOPSIS found} 14Synopsis Error {SYNOPSIS found} Synopsis text is empty 14Syntax Error {SYNTAX header not found} missing syntax -1Alias Information {ALIASES header found} alias header is AST 7 25Alias Information {Alias string length} alias string length: 39 27Description Information {DESCRIPTION header found} DESCRIPTION 29Example Information {EXAMPLES header found} 1 examples found 31Parameter Information {Parameters} 3 parameters found 12Parameter Information {DifferenceCommandHelp found} Version 2 metadata found 37Parameter Information {PropertyNamesToExclude found} Version 2 metadata found 57Parameter Information {ReferenceCommandHelp found} Version 2 metadata found 77Parameter Information {CommonParameters found} GetParameters 79Inputs Information {GetInput} 1 items found 21Outputs Information {GetOutput} 1 items found 23Notes Warning {Notes content not found} GetNotes 112Links Warning {no links found} GetRelatedLinks 114
Environment data
I used the latest build from Aditya.
Visuals
No response
The text was updated successfully, but these errors were encountered:
Prerequisites
Steps to reproduce
Compare-CommandHelp.md
Expected behavior
Import should be able to parse each section of the markdown and assign null values to the description values in each section.
Actual behavior
Error details
Environment data
I used the latest build from Aditya.
Visuals
No response
The text was updated successfully, but these errors were encountered: