Skip to content

Commit ca55c6c

Browse files
committed
fix null DISABLEDFEATURES note
1 parent eb825f7 commit ca55c6c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Tools/Update-StandardsComments.ps1

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,13 @@ foreach ($Standard in $StandardsInfo) {
107107
}
108108
continue
109109
}
110-
$NewComment.Add(" $(EscapeMarkdown($Property.Value.ToString()))`n")
110+
elseif ($Property.Value -is [System.Management.Automation.PSCustomObject]) {
111+
$NewComment.Add(" $(ConvertTo-Json -InputObject $Property.Value -Depth 5 -Compress)`n")
112+
continue
113+
}
114+
else {
115+
$NewComment.Add(" $(EscapeMarkdown($Property.Value.ToString()))`n")
116+
}
111117
}
112118
}
113119

0 commit comments

Comments
 (0)