Fixing PSScriptAnalyzer error for Test-GitHubOrganizationMember

Was failing on PSUseOutputTypeCorrectly:
  The cmdlet 'Test-GitHubOrganizationMember' returns an object of type 'System.Boolean'
  but this type is not declared in the OutputType attribute.
This commit is contained in:
Howard Wolosky 2019-03-15 04:09:39 -07:00
Родитель c60bb29ac0
Коммит 35b3d51ce7
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -97,6 +97,7 @@ function Test-GitHubOrganizationMember
#>
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSShouldProcess", "", Justification="Methods called within here make use of PSShouldProcess, and the switch is passed on to them inherently.")]
[CmdletBinding(SupportsShouldProcess)]
[OutputType([bool])]
param
(
[Parameter(Mandatory)]