Update pwsh style to latest community standards #52

Merged
OCram85 merged 19 commits from rework2022 into master 2022-06-28 08:56:33 +02:00
5 changed files with 5 additions and 5 deletions
Showing only changes of commit a3e68a17dd - Show all commits

View File

@ -20,7 +20,7 @@ function Test-CSCertificate {
#>
[CmdletBinding()]
[OutputType([boolean])]
[OutputType([bool])]
param(
[Parameter(Mandatory = $true)]
[ValidateNotNullOrEmpty()]

View File

@ -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,

View File

@ -40,7 +40,7 @@ function Resolve-Dependency {
}
#>
[OutputType([boolean])]
[OutputType([bool])]
[CmdletBinding()]
param (
[Parameter(Mandatory = $true)]

View File

@ -26,7 +26,7 @@ function Test-CSPfxCertificate {
#>
[CmdletBinding()]
[OutputType([boolean])]
[OutputType([bool])]
param(
[Parameter(Mandatory = $true, ValueFromPipeline = $true)]
[ValidateNotNullOrEmpty()]

View File

@ -19,7 +19,7 @@ function Test-CredentialStore {
#>
[CmdletBinding(DefaultParameterSetName = 'Private')]
[OutputBinding([boolean])]
[OutputBinding([bool])]
param (
[Parameter(Mandatory = $false, ParameterSetName = 'Shared')]
[string]$Path,