We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff118d1 commit e279ce4Copy full SHA for e279ce4
powershell/resources/assets/generate-portal-ux.ps1
@@ -236,7 +236,16 @@ function New-MetadataForParameterSet()
236
$cmdletName = Get-MappedCmdletFromFunctionName $ParameterSetInfo.Name
237
$description = (Get-CmdletAttribute -CmdletInfo $ParameterSetInfo -AttributeName "DescriptionAttribute").Description
238
[object[]]$example = New-ExampleForParameterSet $ParameterSetInfo
239
+ if ($Null -eq $example)
240
+ {
241
+ $example = @()
242
+ }
243
+
244
[string[]]$signature = New-ParameterArrayInParameterSet $ParameterSetInfo
245
+ if ($Null -eq $signature)
246
247
+ $signature = @()
248
249
250
return @{
251
Path = $httpPath
0 commit comments