Merge pull request #35 from alagoutte/fix-pssa

Clear-NetboxCredential: Fix PSSA (trailing whitespace)
This commit is contained in:
Alexis La Goutte 2022-07-06 21:48:15 +02:00 committed by GitHub
commit cb4e2f2f57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -4,8 +4,8 @@
(
[switch]$Force
)
if ($Force -or ($PSCmdlet.ShouldProcess('Netbox Credentials', 'Clear'))) {
$script:NetboxConfig.Credential = $null
}
}
}

View file

@ -438,7 +438,7 @@ function Clear-NetboxCredential {
(
[switch]$Force
)
if ($Force -or ($PSCmdlet.ShouldProcess('Netbox Credentials', 'Clear'))) {
$script:NetboxConfig.Credential = $null
}