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
discovered this when trying to run PlatyPS on the SQLPS module for SQL server. Part of getting the commands moves the runtime over to the SQL provider, PlatyPS fails dramatically at this point.
To Reproduce
Set-Location HKLM: #this puts you on a provider outside of the filesystem (registry)New-ExternalHelp-Path <MdFilePath>-Output <outputPath>
Expected behavior
You get the help.xml (external help) expected.
Actual behavior
Get-MarkdownMetadata : Cannot bind argument to parameter 'Markdown' because it is an empty string.
At D:\GitHub Repos\platyPS\out\platyPS\platyPS.psm1:1155 char:48+$metadata=Get-MarkdownMetadata-markdown $markdown+ ~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Get-MarkdownMetadata], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Get-MarkdownMetadata