Skip to content

Commit 7d47516

Browse files
Revert "Remove parameterValue from markdown (#729)"
This reverts commit 2e4ae59.
1 parent 2e4ae59 commit 7d47516

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/MarkdownReader/V2ParameterMetadata.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ public class ParameterMetadataV2
4646
[YamlIgnore]
4747
public bool VariableLength { get; set;}
4848
public bool SupportsWildcards { get; set;}
49-
50-
[YamlIgnore]
5149
public List<string> ParameterValue { get; set;}
5250
public List<string> Aliases { get; set;}
5351
public List<ParameterSetV2> ParameterSets { get; set; }

test/Pester/ExportMarkdownCommandHelp.Tests.ps1

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,10 +202,6 @@ Describe "Export-MarkdownCommandHelp" {
202202
param ($number)
203203
$ch.Parameters[$number] -eq $ch2.Parameters[$number] | Should -Be $true
204204
}
205-
206-
It "Parameter yaml block should not have parameterValue" {
207-
Get-Content "${outputFolder}/Get-Date.md" | Should -Not -Match "parameterValue"
208-
}
209205
}
210206

211207
Context "File Content - Input/Output" {

0 commit comments

Comments
 (0)