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:
Родитель
c60bb29ac0
Коммит
35b3d51ce7
|
@ -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)]
|
||||
|
|
Загрузка…
Ссылка в новой задаче