Update pwsh style to latest community standards #52
@ -20,7 +20,7 @@ function Test-CSCertificate {
|
||||
#>
|
||||
|
||||
[CmdletBinding()]
|
||||
[OutputType([boolean])]
|
||||
[OutputType([bool])]
|
||||
param(
|
||||
[Parameter(Mandatory = $true)]
|
||||
[ValidateNotNullOrEmpty()]
|
||||
|
@ -37,7 +37,7 @@ function Test-CredentialStoreItem {
|
||||
}
|
||||
#>
|
||||
[CmdletBinding(DefaultParameterSetName = 'Private')]
|
||||
[OutputType([boolean])]
|
||||
[OutputType([bool])]
|
||||
param (
|
||||
[Parameter(Mandatory = $false, ParameterSetName = 'Shared')]
|
||||
[string]$Path = "{0}\PSCredentialStore\CredentialStore.json" -f $env:ProgramData,
|
||||
|
@ -40,7 +40,7 @@ function Resolve-Dependency {
|
||||
}
|
||||
#>
|
||||
|
||||
[OutputType([boolean])]
|
||||
[OutputType([bool])]
|
||||
[CmdletBinding()]
|
||||
param (
|
||||
[Parameter(Mandatory = $true)]
|
||||
|
@ -26,7 +26,7 @@ function Test-CSPfxCertificate {
|
||||
#>
|
||||
|
||||
[CmdletBinding()]
|
||||
[OutputType([boolean])]
|
||||
[OutputType([bool])]
|
||||
param(
|
||||
[Parameter(Mandatory = $true, ValueFromPipeline = $true)]
|
||||
[ValidateNotNullOrEmpty()]
|
||||
|
@ -19,7 +19,7 @@ function Test-CredentialStore {
|
||||
|
||||
#>
|
||||
[CmdletBinding(DefaultParameterSetName = 'Private')]
|
||||
[OutputBinding([boolean])]
|
||||
[OutputBinding([bool])]
|
||||
param (
|
||||
[Parameter(Mandatory = $false, ParameterSetName = 'Shared')]
|
||||
[string]$Path,
|
||||
|
Loading…
Reference in New Issue
Block a user