Closed sdwheeler closed 1 week ago
@sdwheeler I'm confused, the supportswildcard attribute is on these parameters
> $cmds | %{ [pscustomobject]@{ n = $_; sw = (get-command $_).Parameters['Path'].Attributes.TypeId.Name.where({$_ -match "SupportsWildcards"}) }}
n sw
- --
Import-MamlHelp {SupportsWildcardsAttribute}
Import-MarkdownModuleFile {SupportsWildcardsAttribute}
Import-YamlCommandHelp {SupportsWildcardsAttribute}
Import-YamlModuleFile {SupportsWildcardsAttribute}
@JamesWTruher I made an incorrect assumption about the attribute. The problem is in Update-MarkdownCommandHelp
. I updated the title and description of the issue.
Fixed in OPS13
Prerequisites
Steps to reproduce
The existing markdown file has
SupportsWildcards: true
for the-Path
parameter. After update the value is false.Expected behavior
The parameter metadata should show
SupportsWildcards: true
for this command.Actual behavior
The parameter metadata shows
SupportsWildcards: false
for this command.Error details
No response
Environment data
Visuals
No response