We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05054a6 commit 481383fCopy full SHA for 481383f
eng/common/docgeneration/Generate-DocIndex.ps1
@@ -65,12 +65,7 @@ function Get-TocMapping {
65
$orderServiceMapping = @{}
66
67
foreach ($artifact in $artifacts) {
68
- $packageInfo = $metadata | ? {$_.Package -eq $artifact}
69
-
70
- if ($packageInfo -and $packageInfo[0].Hide -eq 'true') {
71
- LogDebug "The artifact $artifact set 'Hide' to 'true'."
72
- continue
73
- }
+ $packageInfo = $metadata | ? { $_.Package -eq $artifact -and $_.Hide -ne "true" }
74
$serviceName = ""
75
$displayName = ""
76
if (!$packageInfo) {
0 commit comments