File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ public class ParameterMetadataV2
46
46
[ YamlIgnore ]
47
47
public bool VariableLength { get ; set ; }
48
48
public bool SupportsWildcards { get ; set ; }
49
+
50
+ [ YamlIgnore ]
49
51
public List < string > ParameterValue { get ; set ; }
50
52
public List < string > Aliases { get ; set ; }
51
53
public List < ParameterSetV2 > ParameterSets { get ; set ; }
Original file line number Diff line number Diff line change @@ -202,6 +202,10 @@ Describe "Export-MarkdownCommandHelp" {
202
202
param ($number )
203
203
$ch.Parameters [$number ] -eq $ch2.Parameters [$number ] | Should - Be $true
204
204
}
205
+
206
+ It " Parameter yaml block should not have parameterValue" {
207
+ Get-Content " ${outputFolder} /Get-Date.md" | Should -Not -Match " parameterValue"
208
+ }
205
209
}
206
210
207
211
Context " File Content - Input/Output" {
You can’t perform that action at this time.
0 commit comments